#20b530 Color
Color Codes | |
---|---|
Hex Code | #20b530 |
RGB Code | rgb(32, 181, 48) |
HSL Code | hsl(126, 70%, 42%) |
#20b530 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(32, 181, 48); }
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(126, 70%, 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 #20b530
RGB Code | Hex Code | Preview |
---|---|---|
rgb(32, 181, 48, 10%) | #20b5301a | |
rgb(32, 181, 48, 20%) | #20b53033 | |
rgb(32, 181, 48, 40%) | #20b5304C | |
rgb(32, 181, 48, 60%) | #20b53099 | |
rgb(32, 181, 48, 80%) | #20b530CC | |
rgb(32, 181, 48, 100%) | #20b530FF |
Saturated and desaturated colors of #20b530
HSL Code | Preview |
---|---|
hsl(126, 10%, 42%) | |
hsl(126, 20%, 42%) | |
hsl(126, 40%, 42%) | |
hsl(126, 60%, 42%) | |
hsl(126, 80%, 42%) | |
hsl(126, 100%, 42%) |
#20b530 Color Usage In CSS
body { color: #20b530; } p { color: rgb(32, 181, 48); } header { border-bottom:1px solid #20b530; }