#a948a3 Color
Color Codes | |
---|---|
Hex Code | #a948a3 |
RGB Code | rgb(169, 72, 163) |
HSL Code | hsl(304, 40%, 47%) |
#a948a3 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(169, 72, 163); }
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(304, 40%, 47%); }
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 #a948a3
RGB Code | Hex Code | Preview |
---|---|---|
rgb(169, 72, 163, 10%) | #a948a31a | |
rgb(169, 72, 163, 20%) | #a948a333 | |
rgb(169, 72, 163, 40%) | #a948a34C | |
rgb(169, 72, 163, 60%) | #a948a399 | |
rgb(169, 72, 163, 80%) | #a948a3CC | |
rgb(169, 72, 163, 100%) | #a948a3FF |
Saturated and desaturated colors of #a948a3
HSL Code | Preview |
---|---|
hsl(304, 10%, 47%) | |
hsl(304, 20%, 47%) | |
hsl(304, 40%, 47%) | |
hsl(304, 60%, 47%) | |
hsl(304, 80%, 47%) | |
hsl(304, 100%, 47%) |
#a948a3 Color Usage In CSS
body { color: #a948a3; } p { color: rgb(169, 72, 163); } header { border-bottom:1px solid #a948a3; }