#a42579 Color
Color Codes | |
---|---|
Hex Code | #a42579 |
RGB Code | rgb(164, 37, 121) |
HSL Code | hsl(320, 63%, 39%) |
#a42579 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(164, 37, 121); }
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(320, 63%, 39%); }
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 #a42579
RGB Code | Hex Code | Preview |
---|---|---|
rgb(164, 37, 121, 10%) | #a425791a | |
rgb(164, 37, 121, 20%) | #a4257933 | |
rgb(164, 37, 121, 40%) | #a425794C | |
rgb(164, 37, 121, 60%) | #a4257999 | |
rgb(164, 37, 121, 80%) | #a42579CC | |
rgb(164, 37, 121, 100%) | #a42579FF |
Saturated and desaturated colors of #a42579
HSL Code | Preview |
---|---|
hsl(320, 10%, 39%) | |
hsl(320, 20%, 39%) | |
hsl(320, 40%, 39%) | |
hsl(320, 60%, 39%) | |
hsl(320, 80%, 39%) | |
hsl(320, 100%, 39%) |
#a42579 Color Usage In CSS
body { color: #a42579; } p { color: rgb(164, 37, 121); } header { border-bottom:1px solid #a42579; }