#a52c4d Color
Color Codes | |
---|---|
Hex Code | #a52c4d |
RGB Code | rgb(165, 44, 77) |
HSL Code | hsl(344, 58%, 41%) |
#a52c4d Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(165, 44, 77); }
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(344, 58%, 41%); }
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 #a52c4d
RGB Code | Hex Code | Preview |
---|---|---|
rgb(165, 44, 77, 10%) | #a52c4d1a | |
rgb(165, 44, 77, 20%) | #a52c4d33 | |
rgb(165, 44, 77, 40%) | #a52c4d4C | |
rgb(165, 44, 77, 60%) | #a52c4d99 | |
rgb(165, 44, 77, 80%) | #a52c4dCC | |
rgb(165, 44, 77, 100%) | #a52c4dFF |
Saturated and desaturated colors of #a52c4d
HSL Code | Preview |
---|---|
hsl(344, 10%, 41%) | |
hsl(344, 20%, 41%) | |
hsl(344, 40%, 41%) | |
hsl(344, 60%, 41%) | |
hsl(344, 80%, 41%) | |
hsl(344, 100%, 41%) |
#a52c4d Color Usage In CSS
body { color: #a52c4d; } p { color: rgb(165, 44, 77); } header { border-bottom:1px solid #a52c4d; }