#d85d9c Color
Color Codes | |
---|---|
Hex Code | #d85d9c |
RGB Code | rgb(216, 93, 156) |
HSL Code | hsl(329, 61%, 61%) |
#d85d9c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(216, 93, 156); }
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(329, 61%, 61%); }
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 #d85d9c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(216, 93, 156, 10%) | #d85d9c1a | |
rgb(216, 93, 156, 20%) | #d85d9c33 | |
rgb(216, 93, 156, 40%) | #d85d9c4C | |
rgb(216, 93, 156, 60%) | #d85d9c99 | |
rgb(216, 93, 156, 80%) | #d85d9cCC | |
rgb(216, 93, 156, 100%) | #d85d9cFF |
Saturated and desaturated colors of #d85d9c
HSL Code | Preview |
---|---|
hsl(329, 10%, 61%) | |
hsl(329, 20%, 61%) | |
hsl(329, 40%, 61%) | |
hsl(329, 60%, 61%) | |
hsl(329, 80%, 61%) | |
hsl(329, 100%, 61%) |
#d85d9c Color Usage In CSS
body { color: #d85d9c; } p { color: rgb(216, 93, 156); } header { border-bottom:1px solid #d85d9c; }