#a02c52 Color
Color Codes | |
---|---|
Hex Code | #a02c52 |
RGB Code | rgb(160, 44, 82) |
HSL Code | hsl(340, 57%, 40%) |
#a02c52 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(160, 44, 82); }
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(340, 57%, 40%); }
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 #a02c52
RGB Code | Hex Code | Preview |
---|---|---|
rgb(160, 44, 82, 10%) | #a02c521a | |
rgb(160, 44, 82, 20%) | #a02c5233 | |
rgb(160, 44, 82, 40%) | #a02c524C | |
rgb(160, 44, 82, 60%) | #a02c5299 | |
rgb(160, 44, 82, 80%) | #a02c52CC | |
rgb(160, 44, 82, 100%) | #a02c52FF |
Saturated and desaturated colors of #a02c52
HSL Code | Preview |
---|---|
hsl(340, 10%, 40%) | |
hsl(340, 20%, 40%) | |
hsl(340, 40%, 40%) | |
hsl(340, 60%, 40%) | |
hsl(340, 80%, 40%) | |
hsl(340, 100%, 40%) |
#a02c52 Color Usage In CSS
body { color: #a02c52; } p { color: rgb(160, 44, 82); } header { border-bottom:1px solid #a02c52; }