#6f8d12 Color
Color Codes | |
---|---|
Hex Code | #6f8d12 |
RGB Code | rgb(111, 141, 18) |
HSL Code | hsl(75, 77%, 31%) |
#6f8d12 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(111, 141, 18); }
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(75, 77%, 31%); }
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 #6f8d12
RGB Code | Hex Code | Preview |
---|---|---|
rgb(111, 141, 18, 10%) | #6f8d121a | |
rgb(111, 141, 18, 20%) | #6f8d1233 | |
rgb(111, 141, 18, 40%) | #6f8d124C | |
rgb(111, 141, 18, 60%) | #6f8d1299 | |
rgb(111, 141, 18, 80%) | #6f8d12CC | |
rgb(111, 141, 18, 100%) | #6f8d12FF |
Saturated and desaturated colors of #6f8d12
HSL Code | Preview |
---|---|
hsl(75, 10%, 31%) | |
hsl(75, 20%, 31%) | |
hsl(75, 40%, 31%) | |
hsl(75, 60%, 31%) | |
hsl(75, 80%, 31%) | |
hsl(75, 100%, 31%) |
#6f8d12 Color Usage In CSS
body { color: #6f8d12; } p { color: rgb(111, 141, 18); } header { border-bottom:1px solid #6f8d12; }