#db9fb9 Color
Color Codes | |
---|---|
Hex Code | #db9fb9 |
RGB Code | rgb(219, 159, 185) |
HSL Code | hsl(334, 45%, 74%) |
#db9fb9 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(219, 159, 185); }
R(red), G(green), B(blue) can be number between 0-255.
A parameter is a hex characters (0–9, A–F) and optional.
hsl()
hsl(hue saturation lightness); hsl(hue saturation lightness / alpha); div { background-color: hsl(334, 45%, 74%); }
Saturation value is a percentage value between 0% unsaturated and 100% fully saturated.
Lightness value is a percentage value between 100% is white and 0% is black.
Lighter and darker colors of #db9fb9
RGB Code | Hex Code | Preview |
---|---|---|
rgb(219, 159, 185, 10%) | #db9fb91a | |
rgb(219, 159, 185, 20%) | #db9fb933 | |
rgb(219, 159, 185, 40%) | #db9fb94C | |
rgb(219, 159, 185, 60%) | #db9fb999 | |
rgb(219, 159, 185, 80%) | #db9fb9CC | |
rgb(219, 159, 185, 100%) | #db9fb9FF |
Saturated and desaturated colors of #db9fb9
HSL Code | Preview |
---|---|
hsl(334, 10%, 74%) | |
hsl(334, 20%, 74%) | |
hsl(334, 40%, 74%) | |
hsl(334, 60%, 74%) | |
hsl(334, 80%, 74%) | |
hsl(334, 100%, 74%) |
#db9fb9 Color Usage In CSS
body { color: #db9fb9; } p { color: rgb(219, 159, 185); } header { border-bottom:1px solid #db9fb9; }