#a32cad Color
Color Codes | |
---|---|
Hex Code | #a32cad |
RGB Code | rgb(163, 44, 173) |
HSL Code | hsl(295, 59%, 43%) |
#a32cad Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(163, 44, 173); }
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(295, 59%, 43%); }
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 #a32cad
RGB Code | Hex Code | Preview |
---|---|---|
rgb(163, 44, 173, 10%) | #a32cad1a | |
rgb(163, 44, 173, 20%) | #a32cad33 | |
rgb(163, 44, 173, 40%) | #a32cad4C | |
rgb(163, 44, 173, 60%) | #a32cad99 | |
rgb(163, 44, 173, 80%) | #a32cadCC | |
rgb(163, 44, 173, 100%) | #a32cadFF |
Saturated and desaturated colors of #a32cad
HSL Code | Preview |
---|---|
hsl(295, 10%, 43%) | |
hsl(295, 20%, 43%) | |
hsl(295, 40%, 43%) | |
hsl(295, 60%, 43%) | |
hsl(295, 80%, 43%) | |
hsl(295, 100%, 43%) |
#a32cad Color Usage In CSS
body { color: #a32cad; } p { color: rgb(163, 44, 173); } header { border-bottom:1px solid #a32cad; }