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