#52bf18 Color
Color Codes | |
---|---|
Hex Code | #52bf18 |
RGB Code | rgb(82, 191, 24) |
HSL Code | hsl(99, 78%, 42%) |
#52bf18 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(82, 191, 24); }
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(99, 78%, 42%); }
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 #52bf18
RGB Code | Hex Code | Preview |
---|---|---|
rgb(82, 191, 24, 10%) | #52bf181a | |
rgb(82, 191, 24, 20%) | #52bf1833 | |
rgb(82, 191, 24, 40%) | #52bf184C | |
rgb(82, 191, 24, 60%) | #52bf1899 | |
rgb(82, 191, 24, 80%) | #52bf18CC | |
rgb(82, 191, 24, 100%) | #52bf18FF |
Saturated and desaturated colors of #52bf18
HSL Code | Preview |
---|---|
hsl(99, 10%, 42%) | |
hsl(99, 20%, 42%) | |
hsl(99, 40%, 42%) | |
hsl(99, 60%, 42%) | |
hsl(99, 80%, 42%) | |
hsl(99, 100%, 42%) |
#52bf18 Color Usage In CSS
body { color: #52bf18; } p { color: rgb(82, 191, 24); } header { border-bottom:1px solid #52bf18; }