#52f31c Color
Color Codes | |
---|---|
Hex Code | #52f31c |
RGB Code | rgb(82, 243, 28) |
HSL Code | hsl(105, 90%, 53%) |
#52f31c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(82, 243, 28); }
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(105, 90%, 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 #52f31c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(82, 243, 28, 10%) | #52f31c1a | |
rgb(82, 243, 28, 20%) | #52f31c33 | |
rgb(82, 243, 28, 40%) | #52f31c4C | |
rgb(82, 243, 28, 60%) | #52f31c99 | |
rgb(82, 243, 28, 80%) | #52f31cCC | |
rgb(82, 243, 28, 100%) | #52f31cFF |
Saturated and desaturated colors of #52f31c
HSL Code | Preview |
---|---|
hsl(105, 10%, 53%) | |
hsl(105, 20%, 53%) | |
hsl(105, 40%, 53%) | |
hsl(105, 60%, 53%) | |
hsl(105, 80%, 53%) | |
hsl(105, 100%, 53%) |
#52f31c Color Usage In CSS
body { color: #52f31c; } p { color: rgb(82, 243, 28); } header { border-bottom:1px solid #52f31c; }