#009d3a Color
Color Codes | |
---|---|
Hex Code | #009d3a |
RGB Code | rgb(00, 157, 58) |
HSL Code | hsl(142, 100%, 31%) |
#009d3a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(00, 157, 58); }
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(142, 100%, 31%); }
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 #009d3a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(00, 157, 58, 10%) | #009d3a1a | |
rgb(00, 157, 58, 20%) | #009d3a33 | |
rgb(00, 157, 58, 40%) | #009d3a4C | |
rgb(00, 157, 58, 60%) | #009d3a99 | |
rgb(00, 157, 58, 80%) | #009d3aCC | |
rgb(00, 157, 58, 100%) | #009d3aFF |
Saturated and desaturated colors of #009d3a
HSL Code | Preview |
---|---|
hsl(142, 10%, 31%) | |
hsl(142, 20%, 31%) | |
hsl(142, 40%, 31%) | |
hsl(142, 60%, 31%) | |
hsl(142, 80%, 31%) | |
hsl(142, 100%, 31%) |
#009d3a Color Usage In CSS
body { color: #009d3a; } p { color: rgb(00, 157, 58); } header { border-bottom:1px solid #009d3a; }