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