#a0526d Color
Color Codes | |
---|---|
Hex Code | #a0526d |
RGB Code | rgb(160, 82, 109) |
HSL Code | hsl(339, 32%, 47%) |
#a0526d Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(160, 82, 109); }
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(339, 32%, 47%); }
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 #a0526d
RGB Code | Hex Code | Preview |
---|---|---|
rgb(160, 82, 109, 10%) | #a0526d1a | |
rgb(160, 82, 109, 20%) | #a0526d33 | |
rgb(160, 82, 109, 40%) | #a0526d4C | |
rgb(160, 82, 109, 60%) | #a0526d99 | |
rgb(160, 82, 109, 80%) | #a0526dCC | |
rgb(160, 82, 109, 100%) | #a0526dFF |
Saturated and desaturated colors of #a0526d
HSL Code | Preview |
---|---|
hsl(339, 10%, 47%) | |
hsl(339, 20%, 47%) | |
hsl(339, 40%, 47%) | |
hsl(339, 60%, 47%) | |
hsl(339, 80%, 47%) | |
hsl(339, 100%, 47%) |
#a0526d Color Usage In CSS
body { color: #a0526d; } p { color: rgb(160, 82, 109); } header { border-bottom:1px solid #a0526d; }