#20a460 Color
Color Codes | |
---|---|
Hex Code | #20a460 |
RGB Code | rgb(32, 164, 96) |
HSL Code | hsl(149, 67%, 38%) |
#20a460 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(32, 164, 96); }
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(149, 67%, 38%); }
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 #20a460
RGB Code | Hex Code | Preview |
---|---|---|
rgb(32, 164, 96, 10%) | #20a4601a | |
rgb(32, 164, 96, 20%) | #20a46033 | |
rgb(32, 164, 96, 40%) | #20a4604C | |
rgb(32, 164, 96, 60%) | #20a46099 | |
rgb(32, 164, 96, 80%) | #20a460CC | |
rgb(32, 164, 96, 100%) | #20a460FF |
Saturated and desaturated colors of #20a460
HSL Code | Preview |
---|---|
hsl(149, 10%, 38%) | |
hsl(149, 20%, 38%) | |
hsl(149, 40%, 38%) | |
hsl(149, 60%, 38%) | |
hsl(149, 80%, 38%) | |
hsl(149, 100%, 38%) |
#20a460 Color Usage In CSS
body { color: #20a460; } p { color: rgb(32, 164, 96); } header { border-bottom:1px solid #20a460; }