#2ecf61 Color
Color Codes | |
---|---|
Hex Code | #2ecf61 |
RGB Code | rgb(46, 207, 97) |
HSL Code | hsl(139, 64%, 50%) |
#2ecf61 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(46, 207, 97); }
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(139, 64%, 50%); }
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 #2ecf61
RGB Code | Hex Code | Preview |
---|---|---|
rgb(46, 207, 97, 10%) | #2ecf611a | |
rgb(46, 207, 97, 20%) | #2ecf6133 | |
rgb(46, 207, 97, 40%) | #2ecf614C | |
rgb(46, 207, 97, 60%) | #2ecf6199 | |
rgb(46, 207, 97, 80%) | #2ecf61CC | |
rgb(46, 207, 97, 100%) | #2ecf61FF |
Saturated and desaturated colors of #2ecf61
HSL Code | Preview |
---|---|
hsl(139, 10%, 50%) | |
hsl(139, 20%, 50%) | |
hsl(139, 40%, 50%) | |
hsl(139, 60%, 50%) | |
hsl(139, 80%, 50%) | |
hsl(139, 100%, 50%) |
#2ecf61 Color Usage In CSS
body { color: #2ecf61; } p { color: rgb(46, 207, 97); } header { border-bottom:1px solid #2ecf61; }