#9ab966 Color
Color Codes | |
---|---|
Hex Code | #9ab966 |
RGB Code | rgb(154, 185, 102) |
HSL Code | hsl(82, 37%, 56%) |
#9ab966 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(154, 185, 102); }
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(82, 37%, 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 #9ab966
RGB Code | Hex Code | Preview |
---|---|---|
rgb(154, 185, 102, 10%) | #9ab9661a | |
rgb(154, 185, 102, 20%) | #9ab96633 | |
rgb(154, 185, 102, 40%) | #9ab9664C | |
rgb(154, 185, 102, 60%) | #9ab96699 | |
rgb(154, 185, 102, 80%) | #9ab966CC | |
rgb(154, 185, 102, 100%) | #9ab966FF |
Saturated and desaturated colors of #9ab966
HSL Code | Preview |
---|---|
hsl(82, 10%, 56%) | |
hsl(82, 20%, 56%) | |
hsl(82, 40%, 56%) | |
hsl(82, 60%, 56%) | |
hsl(82, 80%, 56%) | |
hsl(82, 100%, 56%) |
#9ab966 Color Usage In CSS
body { color: #9ab966; } p { color: rgb(154, 185, 102); } header { border-bottom:1px solid #9ab966; }