#cf8db3 Color
Color Codes | |
---|---|
Hex Code | #cf8db3 |
RGB Code | rgb(207, 141, 179) |
HSL Code | hsl(325, 41%, 68%) |
#cf8db3 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(207, 141, 179); }
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(325, 41%, 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 #cf8db3
RGB Code | Hex Code | Preview |
---|---|---|
rgb(207, 141, 179, 10%) | #cf8db31a | |
rgb(207, 141, 179, 20%) | #cf8db333 | |
rgb(207, 141, 179, 40%) | #cf8db34C | |
rgb(207, 141, 179, 60%) | #cf8db399 | |
rgb(207, 141, 179, 80%) | #cf8db3CC | |
rgb(207, 141, 179, 100%) | #cf8db3FF |
Saturated and desaturated colors of #cf8db3
HSL Code | Preview |
---|---|
hsl(325, 10%, 68%) | |
hsl(325, 20%, 68%) | |
hsl(325, 40%, 68%) | |
hsl(325, 60%, 68%) | |
hsl(325, 80%, 68%) | |
hsl(325, 100%, 68%) |
#cf8db3 Color Usage In CSS
body { color: #cf8db3; } p { color: rgb(207, 141, 179); } header { border-bottom:1px solid #cf8db3; }