#ccc5dc Color
Color Codes | |
---|---|
Hex Code | #ccc5dc |
RGB Code | rgb(204, 197, 220) |
HSL Code | hsl(258, 25%, 82%) |
#ccc5dc Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(204, 197, 220); }
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(258, 25%, 82%); }
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 #ccc5dc
RGB Code | Hex Code | Preview |
---|---|---|
rgb(204, 197, 220, 10%) | #ccc5dc1a | |
rgb(204, 197, 220, 20%) | #ccc5dc33 | |
rgb(204, 197, 220, 40%) | #ccc5dc4C | |
rgb(204, 197, 220, 60%) | #ccc5dc99 | |
rgb(204, 197, 220, 80%) | #ccc5dcCC | |
rgb(204, 197, 220, 100%) | #ccc5dcFF |
Saturated and desaturated colors of #ccc5dc
HSL Code | Preview |
---|---|
hsl(258, 10%, 82%) | |
hsl(258, 20%, 82%) | |
hsl(258, 40%, 82%) | |
hsl(258, 60%, 82%) | |
hsl(258, 80%, 82%) | |
hsl(258, 100%, 82%) |
#ccc5dc Color Usage In CSS
body { color: #ccc5dc; } p { color: rgb(204, 197, 220); } header { border-bottom:1px solid #ccc5dc; }