#9ea89b Color
Color Codes | |
---|---|
Hex Code | #9ea89b |
RGB Code | rgb(158, 168, 155) |
HSL Code | hsl(106, 7%, 63%) |
#9ea89b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(158, 168, 155); }
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(106, 7%, 63%); }
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 #9ea89b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(158, 168, 155, 10%) | #9ea89b1a | |
rgb(158, 168, 155, 20%) | #9ea89b33 | |
rgb(158, 168, 155, 40%) | #9ea89b4C | |
rgb(158, 168, 155, 60%) | #9ea89b99 | |
rgb(158, 168, 155, 80%) | #9ea89bCC | |
rgb(158, 168, 155, 100%) | #9ea89bFF |
Saturated and desaturated colors of #9ea89b
HSL Code | Preview |
---|---|
hsl(106, 10%, 63%) | |
hsl(106, 20%, 63%) | |
hsl(106, 40%, 63%) | |
hsl(106, 60%, 63%) | |
hsl(106, 80%, 63%) | |
hsl(106, 100%, 63%) |
#9ea89b Color Usage In CSS
body { color: #9ea89b; } p { color: rgb(158, 168, 155); } header { border-bottom:1px solid #9ea89b; }