#9ecaef Color
Color Codes | |
---|---|
Hex Code | #9ecaef |
RGB Code | rgb(158, 202, 239) |
HSL Code | hsl(207, 72%, 78%) |
#9ecaef Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(158, 202, 239); }
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(207, 72%, 78%); }
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 #9ecaef
RGB Code | Hex Code | Preview |
---|---|---|
rgb(158, 202, 239, 10%) | #9ecaef1a | |
rgb(158, 202, 239, 20%) | #9ecaef33 | |
rgb(158, 202, 239, 40%) | #9ecaef4C | |
rgb(158, 202, 239, 60%) | #9ecaef99 | |
rgb(158, 202, 239, 80%) | #9ecaefCC | |
rgb(158, 202, 239, 100%) | #9ecaefFF |
Saturated and desaturated colors of #9ecaef
HSL Code | Preview |
---|---|
hsl(207, 10%, 78%) | |
hsl(207, 20%, 78%) | |
hsl(207, 40%, 78%) | |
hsl(207, 60%, 78%) | |
hsl(207, 80%, 78%) | |
hsl(207, 100%, 78%) |
#9ecaef Color Usage In CSS
body { color: #9ecaef; } p { color: rgb(158, 202, 239); } header { border-bottom:1px solid #9ecaef; }