#9eb74e Color
Color Codes | |
---|---|
Hex Code | #9eb74e |
RGB Code | rgb(158, 183, 78) |
HSL Code | hsl(74, 42%, 51%) |
#9eb74e Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(158, 183, 78); }
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(74, 42%, 51%); }
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 #9eb74e
RGB Code | Hex Code | Preview |
---|---|---|
rgb(158, 183, 78, 10%) | #9eb74e1a | |
rgb(158, 183, 78, 20%) | #9eb74e33 | |
rgb(158, 183, 78, 40%) | #9eb74e4C | |
rgb(158, 183, 78, 60%) | #9eb74e99 | |
rgb(158, 183, 78, 80%) | #9eb74eCC | |
rgb(158, 183, 78, 100%) | #9eb74eFF |
Saturated and desaturated colors of #9eb74e
HSL Code | Preview |
---|---|
hsl(74, 10%, 51%) | |
hsl(74, 20%, 51%) | |
hsl(74, 40%, 51%) | |
hsl(74, 60%, 51%) | |
hsl(74, 80%, 51%) | |
hsl(74, 100%, 51%) |
#9eb74e Color Usage In CSS
body { color: #9eb74e; } p { color: rgb(158, 183, 78); } header { border-bottom:1px solid #9eb74e; }