#52ae47 Color
Color Codes | |
---|---|
Hex Code | #52ae47 |
RGB Code | rgb(82, 174, 71) |
HSL Code | hsl(114, 42%, 48%) |
#52ae47 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(82, 174, 71); }
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(114, 42%, 48%); }
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 #52ae47
RGB Code | Hex Code | Preview |
---|---|---|
rgb(82, 174, 71, 10%) | #52ae471a | |
rgb(82, 174, 71, 20%) | #52ae4733 | |
rgb(82, 174, 71, 40%) | #52ae474C | |
rgb(82, 174, 71, 60%) | #52ae4799 | |
rgb(82, 174, 71, 80%) | #52ae47CC | |
rgb(82, 174, 71, 100%) | #52ae47FF |
Saturated and desaturated colors of #52ae47
HSL Code | Preview |
---|---|
hsl(114, 10%, 48%) | |
hsl(114, 20%, 48%) | |
hsl(114, 40%, 48%) | |
hsl(114, 60%, 48%) | |
hsl(114, 80%, 48%) | |
hsl(114, 100%, 48%) |
#52ae47 Color Usage In CSS
body { color: #52ae47; } p { color: rgb(82, 174, 71); } header { border-bottom:1px solid #52ae47; }