#6f9871 Color
Color Codes | |
---|---|
Hex Code | #6f9871 |
RGB Code | rgb(111, 152, 113) |
HSL Code | hsl(123, 17%, 52%) |
#6f9871 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(111, 152, 113); }
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(123, 17%, 52%); }
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 #6f9871
RGB Code | Hex Code | Preview |
---|---|---|
rgb(111, 152, 113, 10%) | #6f98711a | |
rgb(111, 152, 113, 20%) | #6f987133 | |
rgb(111, 152, 113, 40%) | #6f98714C | |
rgb(111, 152, 113, 60%) | #6f987199 | |
rgb(111, 152, 113, 80%) | #6f9871CC | |
rgb(111, 152, 113, 100%) | #6f9871FF |
Saturated and desaturated colors of #6f9871
HSL Code | Preview |
---|---|
hsl(123, 10%, 52%) | |
hsl(123, 20%, 52%) | |
hsl(123, 40%, 52%) | |
hsl(123, 60%, 52%) | |
hsl(123, 80%, 52%) | |
hsl(123, 100%, 52%) |
#6f9871 Color Usage In CSS
body { color: #6f9871; } p { color: rgb(111, 152, 113); } header { border-bottom:1px solid #6f9871; }