#8fa672 Color
Color Codes | |
---|---|
Hex Code | #8fa672 |
RGB Code | rgb(143, 166, 114) |
HSL Code | hsl(87, 23%, 55%) |
#8fa672 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(143, 166, 114); }
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(87, 23%, 55%); }
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 #8fa672
RGB Code | Hex Code | Preview |
---|---|---|
rgb(143, 166, 114, 10%) | #8fa6721a | |
rgb(143, 166, 114, 20%) | #8fa67233 | |
rgb(143, 166, 114, 40%) | #8fa6724C | |
rgb(143, 166, 114, 60%) | #8fa67299 | |
rgb(143, 166, 114, 80%) | #8fa672CC | |
rgb(143, 166, 114, 100%) | #8fa672FF |
Saturated and desaturated colors of #8fa672
HSL Code | Preview |
---|---|
hsl(87, 10%, 55%) | |
hsl(87, 20%, 55%) | |
hsl(87, 40%, 55%) | |
hsl(87, 60%, 55%) | |
hsl(87, 80%, 55%) | |
hsl(87, 100%, 55%) |
#8fa672 Color Usage In CSS
body { color: #8fa672; } p { color: rgb(143, 166, 114); } header { border-bottom:1px solid #8fa672; }