#9eabcf Color
Color Codes | |
---|---|
Hex Code | #9eabcf |
RGB Code | rgb(158, 171, 207) |
HSL Code | hsl(224, 34%, 72%) |
#9eabcf Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(158, 171, 207); }
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(224, 34%, 72%); }
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 #9eabcf
RGB Code | Hex Code | Preview |
---|---|---|
rgb(158, 171, 207, 10%) | #9eabcf1a | |
rgb(158, 171, 207, 20%) | #9eabcf33 | |
rgb(158, 171, 207, 40%) | #9eabcf4C | |
rgb(158, 171, 207, 60%) | #9eabcf99 | |
rgb(158, 171, 207, 80%) | #9eabcfCC | |
rgb(158, 171, 207, 100%) | #9eabcfFF |
Saturated and desaturated colors of #9eabcf
HSL Code | Preview |
---|---|
hsl(224, 10%, 72%) | |
hsl(224, 20%, 72%) | |
hsl(224, 40%, 72%) | |
hsl(224, 60%, 72%) | |
hsl(224, 80%, 72%) | |
hsl(224, 100%, 72%) |
#9eabcf Color Usage In CSS
body { color: #9eabcf; } p { color: rgb(158, 171, 207); } header { border-bottom:1px solid #9eabcf; }