#52725b Color
Color Codes | |
---|---|
Hex Code | #52725b |
RGB Code | rgb(82, 114, 91) |
HSL Code | hsl(137, 16%, 38%) |
#52725b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(82, 114, 91); }
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(137, 16%, 38%); }
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 #52725b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(82, 114, 91, 10%) | #52725b1a | |
rgb(82, 114, 91, 20%) | #52725b33 | |
rgb(82, 114, 91, 40%) | #52725b4C | |
rgb(82, 114, 91, 60%) | #52725b99 | |
rgb(82, 114, 91, 80%) | #52725bCC | |
rgb(82, 114, 91, 100%) | #52725bFF |
Saturated and desaturated colors of #52725b
HSL Code | Preview |
---|---|
hsl(137, 10%, 38%) | |
hsl(137, 20%, 38%) | |
hsl(137, 40%, 38%) | |
hsl(137, 60%, 38%) | |
hsl(137, 80%, 38%) | |
hsl(137, 100%, 38%) |
#52725b Color Usage In CSS
body { color: #52725b; } p { color: rgb(82, 114, 91); } header { border-bottom:1px solid #52725b; }