#9fb26c Color
Color Codes | |
---|---|
Hex Code | #9fb26c |
RGB Code | rgb(159, 178, 108) |
HSL Code | hsl(76, 31%, 56%) |
#9fb26c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(159, 178, 108); }
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, 31%, 56%); }
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 #9fb26c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(159, 178, 108, 10%) | #9fb26c1a | |
rgb(159, 178, 108, 20%) | #9fb26c33 | |
rgb(159, 178, 108, 40%) | #9fb26c4C | |
rgb(159, 178, 108, 60%) | #9fb26c99 | |
rgb(159, 178, 108, 80%) | #9fb26cCC | |
rgb(159, 178, 108, 100%) | #9fb26cFF |
Saturated and desaturated colors of #9fb26c
HSL Code | Preview |
---|---|
hsl(76, 10%, 56%) | |
hsl(76, 20%, 56%) | |
hsl(76, 40%, 56%) | |
hsl(76, 60%, 56%) | |
hsl(76, 80%, 56%) | |
hsl(76, 100%, 56%) |
#9fb26c Color Usage In CSS
body { color: #9fb26c; } p { color: rgb(159, 178, 108); } header { border-bottom:1px solid #9fb26c; }