#8d996c Color
Color Codes | |
---|---|
Hex Code | #8d996c |
RGB Code | rgb(141, 153, 108) |
HSL Code | hsl(76, 18%, 51%) |
#8d996c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(141, 153, 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, 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 #8d996c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(141, 153, 108, 10%) | #8d996c1a | |
rgb(141, 153, 108, 20%) | #8d996c33 | |
rgb(141, 153, 108, 40%) | #8d996c4C | |
rgb(141, 153, 108, 60%) | #8d996c99 | |
rgb(141, 153, 108, 80%) | #8d996cCC | |
rgb(141, 153, 108, 100%) | #8d996cFF |
Saturated and desaturated colors of #8d996c
HSL Code | Preview |
---|---|
hsl(76, 10%, 51%) | |
hsl(76, 20%, 51%) | |
hsl(76, 40%, 51%) | |
hsl(76, 60%, 51%) | |
hsl(76, 80%, 51%) | |
hsl(76, 100%, 51%) |
#8d996c Color Usage In CSS
body { color: #8d996c; } p { color: rgb(141, 153, 108); } header { border-bottom:1px solid #8d996c; }