#06870a Color
Color Codes | |
---|---|
Hex Code | #06870a |
RGB Code | rgb(06, 135, 10) |
HSL Code | hsl(122, 91%, 28%) |
#06870a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(06, 135, 10); }
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(122, 91%, 28%); }
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 #06870a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(06, 135, 10, 10%) | #06870a1a | |
rgb(06, 135, 10, 20%) | #06870a33 | |
rgb(06, 135, 10, 40%) | #06870a4C | |
rgb(06, 135, 10, 60%) | #06870a99 | |
rgb(06, 135, 10, 80%) | #06870aCC | |
rgb(06, 135, 10, 100%) | #06870aFF |
Saturated and desaturated colors of #06870a
HSL Code | Preview |
---|---|
hsl(122, 10%, 28%) | |
hsl(122, 20%, 28%) | |
hsl(122, 40%, 28%) | |
hsl(122, 60%, 28%) | |
hsl(122, 80%, 28%) | |
hsl(122, 100%, 28%) |
#06870a Color Usage In CSS
body { color: #06870a; } p { color: rgb(06, 135, 10); } header { border-bottom:1px solid #06870a; }