#52b26c Color
Color Codes | |
---|---|
Hex Code | #52b26c |
RGB Code | rgb(82, 178, 108) |
HSL Code | hsl(136, 38%, 51%) |
#52b26c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(82, 178, 108); }
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(136, 38%, 51%); }
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 #52b26c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(82, 178, 108, 10%) | #52b26c1a | |
rgb(82, 178, 108, 20%) | #52b26c33 | |
rgb(82, 178, 108, 40%) | #52b26c4C | |
rgb(82, 178, 108, 60%) | #52b26c99 | |
rgb(82, 178, 108, 80%) | #52b26cCC | |
rgb(82, 178, 108, 100%) | #52b26cFF |
Saturated and desaturated colors of #52b26c
HSL Code | Preview |
---|---|
hsl(136, 10%, 51%) | |
hsl(136, 20%, 51%) | |
hsl(136, 40%, 51%) | |
hsl(136, 60%, 51%) | |
hsl(136, 80%, 51%) | |
hsl(136, 100%, 51%) |
#52b26c Color Usage In CSS
body { color: #52b26c; } p { color: rgb(82, 178, 108); } header { border-bottom:1px solid #52b26c; }