#a327ff Color
Color Codes | |
---|---|
Hex Code | #a327ff |
RGB Code | rgb(163, 39, 255) |
HSL Code | hsl(274, 100%, 58%) |
#a327ff Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(163, 39, 255); }
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(274, 100%, 58%); }
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 #a327ff
RGB Code | Hex Code | Preview |
---|---|---|
rgb(163, 39, 255, 10%) | #a327ff1a | |
rgb(163, 39, 255, 20%) | #a327ff33 | |
rgb(163, 39, 255, 40%) | #a327ff4C | |
rgb(163, 39, 255, 60%) | #a327ff99 | |
rgb(163, 39, 255, 80%) | #a327ffCC | |
rgb(163, 39, 255, 100%) | #a327ffFF |
Saturated and desaturated colors of #a327ff
HSL Code | Preview |
---|---|
hsl(274, 10%, 58%) | |
hsl(274, 20%, 58%) | |
hsl(274, 40%, 58%) | |
hsl(274, 60%, 58%) | |
hsl(274, 80%, 58%) | |
hsl(274, 100%, 58%) |
#a327ff Color Usage In CSS
body { color: #a327ff; } p { color: rgb(163, 39, 255); } header { border-bottom:1px solid #a327ff; }