#2cb57d Color
Color Codes | |
---|---|
Hex Code | #2cb57d |
RGB Code | rgb(44, 181, 125) |
HSL Code | hsl(155, 61%, 44%) |
#2cb57d Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(44, 181, 125); }
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(155, 61%, 44%); }
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 #2cb57d
RGB Code | Hex Code | Preview |
---|---|---|
rgb(44, 181, 125, 10%) | #2cb57d1a | |
rgb(44, 181, 125, 20%) | #2cb57d33 | |
rgb(44, 181, 125, 40%) | #2cb57d4C | |
rgb(44, 181, 125, 60%) | #2cb57d99 | |
rgb(44, 181, 125, 80%) | #2cb57dCC | |
rgb(44, 181, 125, 100%) | #2cb57dFF |
Saturated and desaturated colors of #2cb57d
HSL Code | Preview |
---|---|
hsl(155, 10%, 44%) | |
hsl(155, 20%, 44%) | |
hsl(155, 40%, 44%) | |
hsl(155, 60%, 44%) | |
hsl(155, 80%, 44%) | |
hsl(155, 100%, 44%) |
#2cb57d Color Usage In CSS
body { color: #2cb57d; } p { color: rgb(44, 181, 125); } header { border-bottom:1px solid #2cb57d; }