#a3397c Color
Color Codes | |
---|---|
Hex Code | #a3397c |
RGB Code | rgb(163, 57, 124) |
HSL Code | hsl(322, 48%, 43%) |
#a3397c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(163, 57, 124); }
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(322, 48%, 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 #a3397c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(163, 57, 124, 10%) | #a3397c1a | |
rgb(163, 57, 124, 20%) | #a3397c33 | |
rgb(163, 57, 124, 40%) | #a3397c4C | |
rgb(163, 57, 124, 60%) | #a3397c99 | |
rgb(163, 57, 124, 80%) | #a3397cCC | |
rgb(163, 57, 124, 100%) | #a3397cFF |
Saturated and desaturated colors of #a3397c
HSL Code | Preview |
---|---|
hsl(322, 10%, 43%) | |
hsl(322, 20%, 43%) | |
hsl(322, 40%, 43%) | |
hsl(322, 60%, 43%) | |
hsl(322, 80%, 43%) | |
hsl(322, 100%, 43%) |
#a3397c Color Usage In CSS
body { color: #a3397c; } p { color: rgb(163, 57, 124); } header { border-bottom:1px solid #a3397c; }