#58aa2c Color
Color Codes | |
---|---|
Hex Code | #58aa2c |
RGB Code | rgb(88, 170, 44) |
HSL Code | hsl(99, 59%, 42%) |
#58aa2c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(88, 170, 44); }
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(99, 59%, 42%); }
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 #58aa2c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(88, 170, 44, 10%) | #58aa2c1a | |
rgb(88, 170, 44, 20%) | #58aa2c33 | |
rgb(88, 170, 44, 40%) | #58aa2c4C | |
rgb(88, 170, 44, 60%) | #58aa2c99 | |
rgb(88, 170, 44, 80%) | #58aa2cCC | |
rgb(88, 170, 44, 100%) | #58aa2cFF |
Saturated and desaturated colors of #58aa2c
HSL Code | Preview |
---|---|
hsl(99, 10%, 42%) | |
hsl(99, 20%, 42%) | |
hsl(99, 40%, 42%) | |
hsl(99, 60%, 42%) | |
hsl(99, 80%, 42%) | |
hsl(99, 100%, 42%) |
#58aa2c Color Usage In CSS
body { color: #58aa2c; } p { color: rgb(88, 170, 44); } header { border-bottom:1px solid #58aa2c; }