#52c781 Color
Color Codes | |
---|---|
Hex Code | #52c781 |
RGB Code | rgb(82, 199, 129) |
HSL Code | hsl(144, 51%, 55%) |
#52c781 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(82, 199, 129); }
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(144, 51%, 55%); }
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 #52c781
RGB Code | Hex Code | Preview |
---|---|---|
rgb(82, 199, 129, 10%) | #52c7811a | |
rgb(82, 199, 129, 20%) | #52c78133 | |
rgb(82, 199, 129, 40%) | #52c7814C | |
rgb(82, 199, 129, 60%) | #52c78199 | |
rgb(82, 199, 129, 80%) | #52c781CC | |
rgb(82, 199, 129, 100%) | #52c781FF |
Saturated and desaturated colors of #52c781
HSL Code | Preview |
---|---|
hsl(144, 10%, 55%) | |
hsl(144, 20%, 55%) | |
hsl(144, 40%, 55%) | |
hsl(144, 60%, 55%) | |
hsl(144, 80%, 55%) | |
hsl(144, 100%, 55%) |
#52c781 Color Usage In CSS
body { color: #52c781; } p { color: rgb(82, 199, 129); } header { border-bottom:1px solid #52c781; }