#897879 Color
Color Codes | |
---|---|
Hex Code | #897879 |
RGB Code | rgb(137, 120, 121) |
HSL Code | hsl(356, 7%, 50%) |
#897879 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(137, 120, 121); }
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(356, 7%, 50%); }
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 #897879
RGB Code | Hex Code | Preview |
---|---|---|
rgb(137, 120, 121, 10%) | #8978791a | |
rgb(137, 120, 121, 20%) | #89787933 | |
rgb(137, 120, 121, 40%) | #8978794C | |
rgb(137, 120, 121, 60%) | #89787999 | |
rgb(137, 120, 121, 80%) | #897879CC | |
rgb(137, 120, 121, 100%) | #897879FF |
Saturated and desaturated colors of #897879
HSL Code | Preview |
---|---|
hsl(356, 10%, 50%) | |
hsl(356, 20%, 50%) | |
hsl(356, 40%, 50%) | |
hsl(356, 60%, 50%) | |
hsl(356, 80%, 50%) | |
hsl(356, 100%, 50%) |
#897879 Color Usage In CSS
body { color: #897879; } p { color: rgb(137, 120, 121); } header { border-bottom:1px solid #897879; }