#2ee315 Color
Color Codes | |
---|---|
Hex Code | #2ee315 |
RGB Code | rgb(46, 227, 21) |
HSL Code | hsl(113, 83%, 49%) |
#2ee315 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(46, 227, 21); }
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(113, 83%, 49%); }
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 #2ee315
RGB Code | Hex Code | Preview |
---|---|---|
rgb(46, 227, 21, 10%) | #2ee3151a | |
rgb(46, 227, 21, 20%) | #2ee31533 | |
rgb(46, 227, 21, 40%) | #2ee3154C | |
rgb(46, 227, 21, 60%) | #2ee31599 | |
rgb(46, 227, 21, 80%) | #2ee315CC | |
rgb(46, 227, 21, 100%) | #2ee315FF |
Saturated and desaturated colors of #2ee315
HSL Code | Preview |
---|---|
hsl(113, 10%, 49%) | |
hsl(113, 20%, 49%) | |
hsl(113, 40%, 49%) | |
hsl(113, 60%, 49%) | |
hsl(113, 80%, 49%) | |
hsl(113, 100%, 49%) |
#2ee315 Color Usage In CSS
body { color: #2ee315; } p { color: rgb(46, 227, 21); } header { border-bottom:1px solid #2ee315; }