#6f8542 Color
Color Codes | |
---|---|
Hex Code | #6f8542 |
RGB Code | rgb(111, 133, 66) |
HSL Code | hsl(80, 34%, 39%) |
#6f8542 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(111, 133, 66); }
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(80, 34%, 39%); }
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 #6f8542
RGB Code | Hex Code | Preview |
---|---|---|
rgb(111, 133, 66, 10%) | #6f85421a | |
rgb(111, 133, 66, 20%) | #6f854233 | |
rgb(111, 133, 66, 40%) | #6f85424C | |
rgb(111, 133, 66, 60%) | #6f854299 | |
rgb(111, 133, 66, 80%) | #6f8542CC | |
rgb(111, 133, 66, 100%) | #6f8542FF |
Saturated and desaturated colors of #6f8542
HSL Code | Preview |
---|---|
hsl(80, 10%, 39%) | |
hsl(80, 20%, 39%) | |
hsl(80, 40%, 39%) | |
hsl(80, 60%, 39%) | |
hsl(80, 80%, 39%) | |
hsl(80, 100%, 39%) |
#6f8542 Color Usage In CSS
body { color: #6f8542; } p { color: rgb(111, 133, 66); } header { border-bottom:1px solid #6f8542; }