#a049d5 Color
Color Codes | |
---|---|
Hex Code | #a049d5 |
RGB Code | rgb(160, 73, 213) |
HSL Code | hsl(277, 63%, 56%) |
#a049d5 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(160, 73, 213); }
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(277, 63%, 56%); }
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 #a049d5
RGB Code | Hex Code | Preview |
---|---|---|
rgb(160, 73, 213, 10%) | #a049d51a | |
rgb(160, 73, 213, 20%) | #a049d533 | |
rgb(160, 73, 213, 40%) | #a049d54C | |
rgb(160, 73, 213, 60%) | #a049d599 | |
rgb(160, 73, 213, 80%) | #a049d5CC | |
rgb(160, 73, 213, 100%) | #a049d5FF |
Saturated and desaturated colors of #a049d5
HSL Code | Preview |
---|---|
hsl(277, 10%, 56%) | |
hsl(277, 20%, 56%) | |
hsl(277, 40%, 56%) | |
hsl(277, 60%, 56%) | |
hsl(277, 80%, 56%) | |
hsl(277, 100%, 56%) |
#a049d5 Color Usage In CSS
body { color: #a049d5; } p { color: rgb(160, 73, 213); } header { border-bottom:1px solid #a049d5; }