#a347da Color
Color Codes | |
---|---|
Hex Code | #a347da |
RGB Code | rgb(163, 71, 218) |
HSL Code | hsl(278, 67%, 57%) |
#a347da Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(163, 71, 218); }
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(278, 67%, 57%); }
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 #a347da
RGB Code | Hex Code | Preview |
---|---|---|
rgb(163, 71, 218, 10%) | #a347da1a | |
rgb(163, 71, 218, 20%) | #a347da33 | |
rgb(163, 71, 218, 40%) | #a347da4C | |
rgb(163, 71, 218, 60%) | #a347da99 | |
rgb(163, 71, 218, 80%) | #a347daCC | |
rgb(163, 71, 218, 100%) | #a347daFF |
Saturated and desaturated colors of #a347da
HSL Code | Preview |
---|---|
hsl(278, 10%, 57%) | |
hsl(278, 20%, 57%) | |
hsl(278, 40%, 57%) | |
hsl(278, 60%, 57%) | |
hsl(278, 80%, 57%) | |
hsl(278, 100%, 57%) |
#a347da Color Usage In CSS
body { color: #a347da; } p { color: rgb(163, 71, 218); } header { border-bottom:1px solid #a347da; }