#959d2e Color
Color Codes | |
---|---|
Hex Code | #959d2e |
RGB Code | rgb(149, 157, 46) |
HSL Code | hsl(64, 55%, 40%) |
#959d2e Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(149, 157, 46); }
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(64, 55%, 40%); }
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 #959d2e
RGB Code | Hex Code | Preview |
---|---|---|
rgb(149, 157, 46, 10%) | #959d2e1a | |
rgb(149, 157, 46, 20%) | #959d2e33 | |
rgb(149, 157, 46, 40%) | #959d2e4C | |
rgb(149, 157, 46, 60%) | #959d2e99 | |
rgb(149, 157, 46, 80%) | #959d2eCC | |
rgb(149, 157, 46, 100%) | #959d2eFF |
Saturated and desaturated colors of #959d2e
HSL Code | Preview |
---|---|
hsl(64, 10%, 40%) | |
hsl(64, 20%, 40%) | |
hsl(64, 40%, 40%) | |
hsl(64, 60%, 40%) | |
hsl(64, 80%, 40%) | |
hsl(64, 100%, 40%) |
#959d2e Color Usage In CSS
body { color: #959d2e; } p { color: rgb(149, 157, 46); } header { border-bottom:1px solid #959d2e; }