#c4ecf9 Color
Color Codes | |
---|---|
Hex Code | #c4ecf9 |
RGB Code | rgb(196, 236, 249) |
HSL Code | hsl(195, 82%, 87%) |
#c4ecf9 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(196, 236, 249); }
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(195, 82%, 87%); }
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 #c4ecf9
RGB Code | Hex Code | Preview |
---|---|---|
rgb(196, 236, 249, 10%) | #c4ecf91a | |
rgb(196, 236, 249, 20%) | #c4ecf933 | |
rgb(196, 236, 249, 40%) | #c4ecf94C | |
rgb(196, 236, 249, 60%) | #c4ecf999 | |
rgb(196, 236, 249, 80%) | #c4ecf9CC | |
rgb(196, 236, 249, 100%) | #c4ecf9FF |
Saturated and desaturated colors of #c4ecf9
HSL Code | Preview |
---|---|
hsl(195, 10%, 87%) | |
hsl(195, 20%, 87%) | |
hsl(195, 40%, 87%) | |
hsl(195, 60%, 87%) | |
hsl(195, 80%, 87%) | |
hsl(195, 100%, 87%) |
#c4ecf9 Color Usage In CSS
body { color: #c4ecf9; } p { color: rgb(196, 236, 249); } header { border-bottom:1px solid #c4ecf9; }