#ad3a82 Color
Color Codes | |
---|---|
Hex Code | #ad3a82 |
RGB Code | rgb(173, 58, 130) |
HSL Code | hsl(322, 50%, 45%) |
#ad3a82 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(173, 58, 130); }
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(322, 50%, 45%); }
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 #ad3a82
RGB Code | Hex Code | Preview |
---|---|---|
rgb(173, 58, 130, 10%) | #ad3a821a | |
rgb(173, 58, 130, 20%) | #ad3a8233 | |
rgb(173, 58, 130, 40%) | #ad3a824C | |
rgb(173, 58, 130, 60%) | #ad3a8299 | |
rgb(173, 58, 130, 80%) | #ad3a82CC | |
rgb(173, 58, 130, 100%) | #ad3a82FF |
Saturated and desaturated colors of #ad3a82
HSL Code | Preview |
---|---|
hsl(322, 10%, 45%) | |
hsl(322, 20%, 45%) | |
hsl(322, 40%, 45%) | |
hsl(322, 60%, 45%) | |
hsl(322, 80%, 45%) | |
hsl(322, 100%, 45%) |
#ad3a82 Color Usage In CSS
body { color: #ad3a82; } p { color: rgb(173, 58, 130); } header { border-bottom:1px solid #ad3a82; }