#2fdf40 Color
Color Codes | |
---|---|
Hex Code | #2fdf40 |
RGB Code | rgb(47, 223, 64) |
HSL Code | hsl(126, 73%, 53%) |
#2fdf40 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(47, 223, 64); }
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(126, 73%, 53%); }
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 #2fdf40
RGB Code | Hex Code | Preview |
---|---|---|
rgb(47, 223, 64, 10%) | #2fdf401a | |
rgb(47, 223, 64, 20%) | #2fdf4033 | |
rgb(47, 223, 64, 40%) | #2fdf404C | |
rgb(47, 223, 64, 60%) | #2fdf4099 | |
rgb(47, 223, 64, 80%) | #2fdf40CC | |
rgb(47, 223, 64, 100%) | #2fdf40FF |
Saturated and desaturated colors of #2fdf40
HSL Code | Preview |
---|---|
hsl(126, 10%, 53%) | |
hsl(126, 20%, 53%) | |
hsl(126, 40%, 53%) | |
hsl(126, 60%, 53%) | |
hsl(126, 80%, 53%) | |
hsl(126, 100%, 53%) |
#2fdf40 Color Usage In CSS
body { color: #2fdf40; } p { color: rgb(47, 223, 64); } header { border-bottom:1px solid #2fdf40; }