#2dc35e Color
Color Codes | |
---|---|
Hex Code | #2dc35e |
RGB Code | rgb(45, 195, 94) |
HSL Code | hsl(140, 63%, 47%) |
#2dc35e Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(45, 195, 94); }
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(140, 63%, 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 #2dc35e
RGB Code | Hex Code | Preview |
---|---|---|
rgb(45, 195, 94, 10%) | #2dc35e1a | |
rgb(45, 195, 94, 20%) | #2dc35e33 | |
rgb(45, 195, 94, 40%) | #2dc35e4C | |
rgb(45, 195, 94, 60%) | #2dc35e99 | |
rgb(45, 195, 94, 80%) | #2dc35eCC | |
rgb(45, 195, 94, 100%) | #2dc35eFF |
Saturated and desaturated colors of #2dc35e
HSL Code | Preview |
---|---|
hsl(140, 10%, 47%) | |
hsl(140, 20%, 47%) | |
hsl(140, 40%, 47%) | |
hsl(140, 60%, 47%) | |
hsl(140, 80%, 47%) | |
hsl(140, 100%, 47%) |
#2dc35e Color Usage In CSS
body { color: #2dc35e; } p { color: rgb(45, 195, 94); } header { border-bottom:1px solid #2dc35e; }