#a320c4 Color
Color Codes | |
---|---|
Hex Code | #a320c4 |
RGB Code | rgb(163, 32, 196) |
HSL Code | hsl(288, 72%, 45%) |
#a320c4 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(163, 32, 196); }
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(288, 72%, 45%); }
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 #a320c4
RGB Code | Hex Code | Preview |
---|---|---|
rgb(163, 32, 196, 10%) | #a320c41a | |
rgb(163, 32, 196, 20%) | #a320c433 | |
rgb(163, 32, 196, 40%) | #a320c44C | |
rgb(163, 32, 196, 60%) | #a320c499 | |
rgb(163, 32, 196, 80%) | #a320c4CC | |
rgb(163, 32, 196, 100%) | #a320c4FF |
Saturated and desaturated colors of #a320c4
HSL Code | Preview |
---|---|
hsl(288, 10%, 45%) | |
hsl(288, 20%, 45%) | |
hsl(288, 40%, 45%) | |
hsl(288, 60%, 45%) | |
hsl(288, 80%, 45%) | |
hsl(288, 100%, 45%) |
#a320c4 Color Usage In CSS
body { color: #a320c4; } p { color: rgb(163, 32, 196); } header { border-bottom:1px solid #a320c4; }