#2eb565 Color
Color Codes | |
---|---|
Hex Code | #2eb565 |
RGB Code | rgb(46, 181, 101) |
HSL Code | hsl(144, 59%, 45%) |
#2eb565 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(46, 181, 101); }
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(144, 59%, 45%); }
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 #2eb565
RGB Code | Hex Code | Preview |
---|---|---|
rgb(46, 181, 101, 10%) | #2eb5651a | |
rgb(46, 181, 101, 20%) | #2eb56533 | |
rgb(46, 181, 101, 40%) | #2eb5654C | |
rgb(46, 181, 101, 60%) | #2eb56599 | |
rgb(46, 181, 101, 80%) | #2eb565CC | |
rgb(46, 181, 101, 100%) | #2eb565FF |
Saturated and desaturated colors of #2eb565
HSL Code | Preview |
---|---|
hsl(144, 10%, 45%) | |
hsl(144, 20%, 45%) | |
hsl(144, 40%, 45%) | |
hsl(144, 60%, 45%) | |
hsl(144, 80%, 45%) | |
hsl(144, 100%, 45%) |
#2eb565 Color Usage In CSS
body { color: #2eb565; } p { color: rgb(46, 181, 101); } header { border-bottom:1px solid #2eb565; }