#2bc589 Color
Color Codes | |
---|---|
Hex Code | #2bc589 |
RGB Code | rgb(43, 197, 137) |
HSL Code | hsl(157, 64%, 47%) |
#2bc589 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(43, 197, 137); }
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(157, 64%, 47%); }
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 #2bc589
RGB Code | Hex Code | Preview |
---|---|---|
rgb(43, 197, 137, 10%) | #2bc5891a | |
rgb(43, 197, 137, 20%) | #2bc58933 | |
rgb(43, 197, 137, 40%) | #2bc5894C | |
rgb(43, 197, 137, 60%) | #2bc58999 | |
rgb(43, 197, 137, 80%) | #2bc589CC | |
rgb(43, 197, 137, 100%) | #2bc589FF |
Saturated and desaturated colors of #2bc589
HSL Code | Preview |
---|---|
hsl(157, 10%, 47%) | |
hsl(157, 20%, 47%) | |
hsl(157, 40%, 47%) | |
hsl(157, 60%, 47%) | |
hsl(157, 80%, 47%) | |
hsl(157, 100%, 47%) |
#2bc589 Color Usage In CSS
body { color: #2bc589; } p { color: rgb(43, 197, 137); } header { border-bottom:1px solid #2bc589; }