#08720f Color
Color Codes | |
---|---|
Hex Code | #08720f |
RGB Code | rgb(08, 114, 15) |
HSL Code | hsl(124, 87%, 24%) |
#08720f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(08, 114, 15); }
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(124, 87%, 24%); }
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 #08720f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(08, 114, 15, 10%) | #08720f1a | |
rgb(08, 114, 15, 20%) | #08720f33 | |
rgb(08, 114, 15, 40%) | #08720f4C | |
rgb(08, 114, 15, 60%) | #08720f99 | |
rgb(08, 114, 15, 80%) | #08720fCC | |
rgb(08, 114, 15, 100%) | #08720fFF |
Saturated and desaturated colors of #08720f
HSL Code | Preview |
---|---|
hsl(124, 10%, 24%) | |
hsl(124, 20%, 24%) | |
hsl(124, 40%, 24%) | |
hsl(124, 60%, 24%) | |
hsl(124, 80%, 24%) | |
hsl(124, 100%, 24%) |
#08720f Color Usage In CSS
body { color: #08720f; } p { color: rgb(08, 114, 15); } header { border-bottom:1px solid #08720f; }