#ccbbf8 Color
Color Codes | |
---|---|
Hex Code | #ccbbf8 |
RGB Code | rgb(204, 187, 248) |
HSL Code | hsl(257, 81%, 85%) |
#ccbbf8 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(204, 187, 248); }
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(257, 81%, 85%); }
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 #ccbbf8
RGB Code | Hex Code | Preview |
---|---|---|
rgb(204, 187, 248, 10%) | #ccbbf81a | |
rgb(204, 187, 248, 20%) | #ccbbf833 | |
rgb(204, 187, 248, 40%) | #ccbbf84C | |
rgb(204, 187, 248, 60%) | #ccbbf899 | |
rgb(204, 187, 248, 80%) | #ccbbf8CC | |
rgb(204, 187, 248, 100%) | #ccbbf8FF |
Saturated and desaturated colors of #ccbbf8
HSL Code | Preview |
---|---|
hsl(257, 10%, 85%) | |
hsl(257, 20%, 85%) | |
hsl(257, 40%, 85%) | |
hsl(257, 60%, 85%) | |
hsl(257, 80%, 85%) | |
hsl(257, 100%, 85%) |
#ccbbf8 Color Usage In CSS
body { color: #ccbbf8; } p { color: rgb(204, 187, 248); } header { border-bottom:1px solid #ccbbf8; }