#0f3308 Color
Color Codes | |
---|---|
Hex Code | #0f3308 |
RGB Code | rgb(15, 51, 08) |
HSL Code | hsl(110, 73%, 12%) |
#0f3308 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(15, 51, 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(110, 73%, 12%); }
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 #0f3308
RGB Code | Hex Code | Preview |
---|---|---|
rgb(15, 51, 08, 10%) | #0f33081a | |
rgb(15, 51, 08, 20%) | #0f330833 | |
rgb(15, 51, 08, 40%) | #0f33084C | |
rgb(15, 51, 08, 60%) | #0f330899 | |
rgb(15, 51, 08, 80%) | #0f3308CC | |
rgb(15, 51, 08, 100%) | #0f3308FF |
Saturated and desaturated colors of #0f3308
HSL Code | Preview |
---|---|
hsl(110, 10%, 12%) | |
hsl(110, 20%, 12%) | |
hsl(110, 40%, 12%) | |
hsl(110, 60%, 12%) | |
hsl(110, 80%, 12%) | |
hsl(110, 100%, 12%) |
#0f3308 Color Usage In CSS
body { color: #0f3308; } p { color: rgb(15, 51, 08); } header { border-bottom:1px solid #0f3308; }