#cd9eaa Color
Color Codes | |
---|---|
Hex Code | #cd9eaa |
RGB Code | rgb(205, 158, 170) |
HSL Code | hsl(345, 32%, 71%) |
#cd9eaa Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(205, 158, 170); }
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(345, 32%, 71%); }
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 #cd9eaa
RGB Code | Hex Code | Preview |
---|---|---|
rgb(205, 158, 170, 10%) | #cd9eaa1a | |
rgb(205, 158, 170, 20%) | #cd9eaa33 | |
rgb(205, 158, 170, 40%) | #cd9eaa4C | |
rgb(205, 158, 170, 60%) | #cd9eaa99 | |
rgb(205, 158, 170, 80%) | #cd9eaaCC | |
rgb(205, 158, 170, 100%) | #cd9eaaFF |
Saturated and desaturated colors of #cd9eaa
HSL Code | Preview |
---|---|
hsl(345, 10%, 71%) | |
hsl(345, 20%, 71%) | |
hsl(345, 40%, 71%) | |
hsl(345, 60%, 71%) | |
hsl(345, 80%, 71%) | |
hsl(345, 100%, 71%) |
#cd9eaa Color Usage In CSS
body { color: #cd9eaa; } p { color: rgb(205, 158, 170); } header { border-bottom:1px solid #cd9eaa; }