#24ca2f Color
Color Codes | |
---|---|
Hex Code | #24ca2f |
RGB Code | rgb(36, 202, 47) |
HSL Code | hsl(124, 70%, 47%) |
#24ca2f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(36, 202, 47); }
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(124, 70%, 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 #24ca2f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(36, 202, 47, 10%) | #24ca2f1a | |
rgb(36, 202, 47, 20%) | #24ca2f33 | |
rgb(36, 202, 47, 40%) | #24ca2f4C | |
rgb(36, 202, 47, 60%) | #24ca2f99 | |
rgb(36, 202, 47, 80%) | #24ca2fCC | |
rgb(36, 202, 47, 100%) | #24ca2fFF |
Saturated and desaturated colors of #24ca2f
HSL Code | Preview |
---|---|
hsl(124, 10%, 47%) | |
hsl(124, 20%, 47%) | |
hsl(124, 40%, 47%) | |
hsl(124, 60%, 47%) | |
hsl(124, 80%, 47%) | |
hsl(124, 100%, 47%) |
#24ca2f Color Usage In CSS
body { color: #24ca2f; } p { color: rgb(36, 202, 47); } header { border-bottom:1px solid #24ca2f; }