#a82c87 Color
Color Codes | |
---|---|
Hex Code | #a82c87 |
RGB Code | rgb(168, 44, 135) |
HSL Code | hsl(316, 58%, 42%) |
#a82c87 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(168, 44, 135); }
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(316, 58%, 42%); }
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 #a82c87
RGB Code | Hex Code | Preview |
---|---|---|
rgb(168, 44, 135, 10%) | #a82c871a | |
rgb(168, 44, 135, 20%) | #a82c8733 | |
rgb(168, 44, 135, 40%) | #a82c874C | |
rgb(168, 44, 135, 60%) | #a82c8799 | |
rgb(168, 44, 135, 80%) | #a82c87CC | |
rgb(168, 44, 135, 100%) | #a82c87FF |
Saturated and desaturated colors of #a82c87
HSL Code | Preview |
---|---|
hsl(316, 10%, 42%) | |
hsl(316, 20%, 42%) | |
hsl(316, 40%, 42%) | |
hsl(316, 60%, 42%) | |
hsl(316, 80%, 42%) | |
hsl(316, 100%, 42%) |
#a82c87 Color Usage In CSS
body { color: #a82c87; } p { color: rgb(168, 44, 135); } header { border-bottom:1px solid #a82c87; }