#a84699 Color
Color Codes | |
---|---|
Hex Code | #a84699 |
RGB Code | rgb(168, 70, 153) |
HSL Code | hsl(309, 41%, 47%) |
#a84699 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(168, 70, 153); }
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(309, 41%, 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 #a84699
RGB Code | Hex Code | Preview |
---|---|---|
rgb(168, 70, 153, 10%) | #a846991a | |
rgb(168, 70, 153, 20%) | #a8469933 | |
rgb(168, 70, 153, 40%) | #a846994C | |
rgb(168, 70, 153, 60%) | #a8469999 | |
rgb(168, 70, 153, 80%) | #a84699CC | |
rgb(168, 70, 153, 100%) | #a84699FF |
Saturated and desaturated colors of #a84699
HSL Code | Preview |
---|---|
hsl(309, 10%, 47%) | |
hsl(309, 20%, 47%) | |
hsl(309, 40%, 47%) | |
hsl(309, 60%, 47%) | |
hsl(309, 80%, 47%) | |
hsl(309, 100%, 47%) |
#a84699 Color Usage In CSS
body { color: #a84699; } p { color: rgb(168, 70, 153); } header { border-bottom:1px solid #a84699; }