#a82050 Color
Color Codes | |
---|---|
Hex Code | #a82050 |
RGB Code | rgb(168, 32, 80) |
HSL Code | hsl(339, 68%, 39%) |
#a82050 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(168, 32, 80); }
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(339, 68%, 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 #a82050
RGB Code | Hex Code | Preview |
---|---|---|
rgb(168, 32, 80, 10%) | #a820501a | |
rgb(168, 32, 80, 20%) | #a8205033 | |
rgb(168, 32, 80, 40%) | #a820504C | |
rgb(168, 32, 80, 60%) | #a8205099 | |
rgb(168, 32, 80, 80%) | #a82050CC | |
rgb(168, 32, 80, 100%) | #a82050FF |
Saturated and desaturated colors of #a82050
HSL Code | Preview |
---|---|
hsl(339, 10%, 39%) | |
hsl(339, 20%, 39%) | |
hsl(339, 40%, 39%) | |
hsl(339, 60%, 39%) | |
hsl(339, 80%, 39%) | |
hsl(339, 100%, 39%) |
#a82050 Color Usage In CSS
body { color: #a82050; } p { color: rgb(168, 32, 80); } header { border-bottom:1px solid #a82050; }