#9baa0b Color
Color Codes | |
---|---|
Hex Code | #9baa0b |
RGB Code | rgb(155, 170, 11) |
HSL Code | hsl(66, 88%, 35%) |
#9baa0b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(155, 170, 11); }
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(66, 88%, 35%); }
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 #9baa0b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(155, 170, 11, 10%) | #9baa0b1a | |
rgb(155, 170, 11, 20%) | #9baa0b33 | |
rgb(155, 170, 11, 40%) | #9baa0b4C | |
rgb(155, 170, 11, 60%) | #9baa0b99 | |
rgb(155, 170, 11, 80%) | #9baa0bCC | |
rgb(155, 170, 11, 100%) | #9baa0bFF |
Saturated and desaturated colors of #9baa0b
HSL Code | Preview |
---|---|
hsl(66, 10%, 35%) | |
hsl(66, 20%, 35%) | |
hsl(66, 40%, 35%) | |
hsl(66, 60%, 35%) | |
hsl(66, 80%, 35%) | |
hsl(66, 100%, 35%) |
#9baa0b Color Usage In CSS
body { color: #9baa0b; } p { color: rgb(155, 170, 11); } header { border-bottom:1px solid #9baa0b; }