#cd8cbf Color
Color Codes | |
---|---|
Hex Code | #cd8cbf |
RGB Code | rgb(205, 140, 191) |
HSL Code | hsl(313, 39%, 68%) |
#cd8cbf Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(205, 140, 191); }
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(313, 39%, 68%); }
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 #cd8cbf
RGB Code | Hex Code | Preview |
---|---|---|
rgb(205, 140, 191, 10%) | #cd8cbf1a | |
rgb(205, 140, 191, 20%) | #cd8cbf33 | |
rgb(205, 140, 191, 40%) | #cd8cbf4C | |
rgb(205, 140, 191, 60%) | #cd8cbf99 | |
rgb(205, 140, 191, 80%) | #cd8cbfCC | |
rgb(205, 140, 191, 100%) | #cd8cbfFF |
Saturated and desaturated colors of #cd8cbf
HSL Code | Preview |
---|---|
hsl(313, 10%, 68%) | |
hsl(313, 20%, 68%) | |
hsl(313, 40%, 68%) | |
hsl(313, 60%, 68%) | |
hsl(313, 80%, 68%) | |
hsl(313, 100%, 68%) |
#cd8cbf Color Usage In CSS
body { color: #cd8cbf; } p { color: rgb(205, 140, 191); } header { border-bottom:1px solid #cd8cbf; }