#9eb268 Color
Color Codes | |
---|---|
Hex Code | #9eb268 |
RGB Code | rgb(158, 178, 104) |
HSL Code | hsl(76, 32%, 55%) |
#9eb268 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(158, 178, 104); }
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(76, 32%, 55%); }
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 #9eb268
RGB Code | Hex Code | Preview |
---|---|---|
rgb(158, 178, 104, 10%) | #9eb2681a | |
rgb(158, 178, 104, 20%) | #9eb26833 | |
rgb(158, 178, 104, 40%) | #9eb2684C | |
rgb(158, 178, 104, 60%) | #9eb26899 | |
rgb(158, 178, 104, 80%) | #9eb268CC | |
rgb(158, 178, 104, 100%) | #9eb268FF |
Saturated and desaturated colors of #9eb268
HSL Code | Preview |
---|---|
hsl(76, 10%, 55%) | |
hsl(76, 20%, 55%) | |
hsl(76, 40%, 55%) | |
hsl(76, 60%, 55%) | |
hsl(76, 80%, 55%) | |
hsl(76, 100%, 55%) |
#9eb268 Color Usage In CSS
body { color: #9eb268; } p { color: rgb(158, 178, 104); } header { border-bottom:1px solid #9eb268; }