#041612 Color
Color Codes | |
---|---|
Hex Code | #041612 |
RGB Code | rgb(04, 22, 18) |
HSL Code | hsl(167, 69%, 5%) |
#041612 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(04, 22, 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(167, 69%, 5%); }
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 #041612
RGB Code | Hex Code | Preview |
---|---|---|
rgb(04, 22, 18, 10%) | #0416121a | |
rgb(04, 22, 18, 20%) | #04161233 | |
rgb(04, 22, 18, 40%) | #0416124C | |
rgb(04, 22, 18, 60%) | #04161299 | |
rgb(04, 22, 18, 80%) | #041612CC | |
rgb(04, 22, 18, 100%) | #041612FF |
Saturated and desaturated colors of #041612
HSL Code | Preview |
---|---|
hsl(167, 10%, 5%) | |
hsl(167, 20%, 5%) | |
hsl(167, 40%, 5%) | |
hsl(167, 60%, 5%) | |
hsl(167, 80%, 5%) | |
hsl(167, 100%, 5%) |
#041612 Color Usage In CSS
body { color: #041612; } p { color: rgb(04, 22, 18); } header { border-bottom:1px solid #041612; }