#58942b Color
Color Codes | |
---|---|
Hex Code | #58942b |
RGB Code | rgb(88, 148, 43) |
HSL Code | hsl(94, 55%, 37%) |
#58942b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(88, 148, 43); }
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(94, 55%, 37%); }
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 #58942b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(88, 148, 43, 10%) | #58942b1a | |
rgb(88, 148, 43, 20%) | #58942b33 | |
rgb(88, 148, 43, 40%) | #58942b4C | |
rgb(88, 148, 43, 60%) | #58942b99 | |
rgb(88, 148, 43, 80%) | #58942bCC | |
rgb(88, 148, 43, 100%) | #58942bFF |
Saturated and desaturated colors of #58942b
HSL Code | Preview |
---|---|
hsl(94, 10%, 37%) | |
hsl(94, 20%, 37%) | |
hsl(94, 40%, 37%) | |
hsl(94, 60%, 37%) | |
hsl(94, 80%, 37%) | |
hsl(94, 100%, 37%) |
#58942b Color Usage In CSS
body { color: #58942b; } p { color: rgb(88, 148, 43); } header { border-bottom:1px solid #58942b; }