#a63142 Color
Color Codes | |
---|---|
Hex Code | #a63142 |
RGB Code | rgb(166, 49, 66) |
HSL Code | hsl(351, 54%, 42%) |
#a63142 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(166, 49, 66); }
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(351, 54%, 42%); }
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 #a63142
RGB Code | Hex Code | Preview |
---|---|---|
rgb(166, 49, 66, 10%) | #a631421a | |
rgb(166, 49, 66, 20%) | #a6314233 | |
rgb(166, 49, 66, 40%) | #a631424C | |
rgb(166, 49, 66, 60%) | #a6314299 | |
rgb(166, 49, 66, 80%) | #a63142CC | |
rgb(166, 49, 66, 100%) | #a63142FF |
Saturated and desaturated colors of #a63142
HSL Code | Preview |
---|---|
hsl(351, 10%, 42%) | |
hsl(351, 20%, 42%) | |
hsl(351, 40%, 42%) | |
hsl(351, 60%, 42%) | |
hsl(351, 80%, 42%) | |
hsl(351, 100%, 42%) |
#a63142 Color Usage In CSS
body { color: #a63142; } p { color: rgb(166, 49, 66); } header { border-bottom:1px solid #a63142; }