#98916b Color
Color Codes | |
---|---|
Hex Code | #98916b |
RGB Code | rgb(152, 145, 107) |
HSL Code | hsl(51, 18%, 51%) |
#98916b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(152, 145, 107); }
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(51, 18%, 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 #98916b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(152, 145, 107, 10%) | #98916b1a | |
rgb(152, 145, 107, 20%) | #98916b33 | |
rgb(152, 145, 107, 40%) | #98916b4C | |
rgb(152, 145, 107, 60%) | #98916b99 | |
rgb(152, 145, 107, 80%) | #98916bCC | |
rgb(152, 145, 107, 100%) | #98916bFF |
Saturated and desaturated colors of #98916b
HSL Code | Preview |
---|---|
hsl(51, 10%, 51%) | |
hsl(51, 20%, 51%) | |
hsl(51, 40%, 51%) | |
hsl(51, 60%, 51%) | |
hsl(51, 80%, 51%) | |
hsl(51, 100%, 51%) |
#98916b Color Usage In CSS
body { color: #98916b; } p { color: rgb(152, 145, 107); } header { border-bottom:1px solid #98916b; }