#525817 Color
Color Codes | |
---|---|
Hex Code | #525817 |
RGB Code | rgb(82, 88, 23) |
HSL Code | hsl(66, 59%, 22%) |
#525817 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(82, 88, 23); }
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(66, 59%, 22%); }
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 #525817
RGB Code | Hex Code | Preview |
---|---|---|
rgb(82, 88, 23, 10%) | #5258171a | |
rgb(82, 88, 23, 20%) | #52581733 | |
rgb(82, 88, 23, 40%) | #5258174C | |
rgb(82, 88, 23, 60%) | #52581799 | |
rgb(82, 88, 23, 80%) | #525817CC | |
rgb(82, 88, 23, 100%) | #525817FF |
Saturated and desaturated colors of #525817
HSL Code | Preview |
---|---|
hsl(66, 10%, 22%) | |
hsl(66, 20%, 22%) | |
hsl(66, 40%, 22%) | |
hsl(66, 60%, 22%) | |
hsl(66, 80%, 22%) | |
hsl(66, 100%, 22%) |
#525817 Color Usage In CSS
body { color: #525817; } p { color: rgb(82, 88, 23); } header { border-bottom:1px solid #525817; }