#2ad15f Color
Color Codes | |
---|---|
Hex Code | #2ad15f |
RGB Code | rgb(42, 209, 95) |
HSL Code | hsl(139, 67%, 49%) |
#2ad15f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(42, 209, 95); }
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, 67%, 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 #2ad15f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(42, 209, 95, 10%) | #2ad15f1a | |
rgb(42, 209, 95, 20%) | #2ad15f33 | |
rgb(42, 209, 95, 40%) | #2ad15f4C | |
rgb(42, 209, 95, 60%) | #2ad15f99 | |
rgb(42, 209, 95, 80%) | #2ad15fCC | |
rgb(42, 209, 95, 100%) | #2ad15fFF |
Saturated and desaturated colors of #2ad15f
HSL Code | Preview |
---|---|
hsl(139, 10%, 49%) | |
hsl(139, 20%, 49%) | |
hsl(139, 40%, 49%) | |
hsl(139, 60%, 49%) | |
hsl(139, 80%, 49%) | |
hsl(139, 100%, 49%) |
#2ad15f Color Usage In CSS
body { color: #2ad15f; } p { color: rgb(42, 209, 95); } header { border-bottom:1px solid #2ad15f; }