#8b957d Color
Color Codes | |
---|---|
Hex Code | #8b957d |
RGB Code | rgb(139, 149, 125) |
HSL Code | hsl(85, 10%, 54%) |
#8b957d Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(139, 149, 125); }
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(85, 10%, 54%); }
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 #8b957d
RGB Code | Hex Code | Preview |
---|---|---|
rgb(139, 149, 125, 10%) | #8b957d1a | |
rgb(139, 149, 125, 20%) | #8b957d33 | |
rgb(139, 149, 125, 40%) | #8b957d4C | |
rgb(139, 149, 125, 60%) | #8b957d99 | |
rgb(139, 149, 125, 80%) | #8b957dCC | |
rgb(139, 149, 125, 100%) | #8b957dFF |
Saturated and desaturated colors of #8b957d
HSL Code | Preview |
---|---|
hsl(85, 10%, 54%) | |
hsl(85, 20%, 54%) | |
hsl(85, 40%, 54%) | |
hsl(85, 60%, 54%) | |
hsl(85, 80%, 54%) | |
hsl(85, 100%, 54%) |
#8b957d Color Usage In CSS
body { color: #8b957d; } p { color: rgb(139, 149, 125); } header { border-bottom:1px solid #8b957d; }