#a0066a Color
Color Codes | |
---|---|
Hex Code | #a0066a |
RGB Code | rgb(160, 06, 106) |
HSL Code | hsl(321, 93%, 33%) |
#a0066a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(160, 06, 106); }
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(321, 93%, 33%); }
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 #a0066a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(160, 06, 106, 10%) | #a0066a1a | |
rgb(160, 06, 106, 20%) | #a0066a33 | |
rgb(160, 06, 106, 40%) | #a0066a4C | |
rgb(160, 06, 106, 60%) | #a0066a99 | |
rgb(160, 06, 106, 80%) | #a0066aCC | |
rgb(160, 06, 106, 100%) | #a0066aFF |
Saturated and desaturated colors of #a0066a
HSL Code | Preview |
---|---|
hsl(321, 10%, 33%) | |
hsl(321, 20%, 33%) | |
hsl(321, 40%, 33%) | |
hsl(321, 60%, 33%) | |
hsl(321, 80%, 33%) | |
hsl(321, 100%, 33%) |
#a0066a Color Usage In CSS
body { color: #a0066a; } p { color: rgb(160, 06, 106); } header { border-bottom:1px solid #a0066a; }