#0f6208 Color
Color Codes | |
---|---|
Hex Code | #0f6208 |
RGB Code | rgb(15, 98, 08) |
HSL Code | hsl(115, 85%, 21%) |
#0f6208 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(15, 98, 08); }
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(115, 85%, 21%); }
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 #0f6208
RGB Code | Hex Code | Preview |
---|---|---|
rgb(15, 98, 08, 10%) | #0f62081a | |
rgb(15, 98, 08, 20%) | #0f620833 | |
rgb(15, 98, 08, 40%) | #0f62084C | |
rgb(15, 98, 08, 60%) | #0f620899 | |
rgb(15, 98, 08, 80%) | #0f6208CC | |
rgb(15, 98, 08, 100%) | #0f6208FF |
Saturated and desaturated colors of #0f6208
HSL Code | Preview |
---|---|
hsl(115, 10%, 21%) | |
hsl(115, 20%, 21%) | |
hsl(115, 40%, 21%) | |
hsl(115, 60%, 21%) | |
hsl(115, 80%, 21%) | |
hsl(115, 100%, 21%) |
#0f6208 Color Usage In CSS
body { color: #0f6208; } p { color: rgb(15, 98, 08); } header { border-bottom:1px solid #0f6208; }