#501590 Color
Color Codes | |
---|---|
Hex Code | #501590 |
RGB Code | rgb(80, 21, 144) |
HSL Code | hsl(269, 75%, 32%) |
#501590 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(80, 21, 144); }
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(269, 75%, 32%); }
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 #501590
RGB Code | Hex Code | Preview |
---|---|---|
rgb(80, 21, 144, 10%) | #5015901a | |
rgb(80, 21, 144, 20%) | #50159033 | |
rgb(80, 21, 144, 40%) | #5015904C | |
rgb(80, 21, 144, 60%) | #50159099 | |
rgb(80, 21, 144, 80%) | #501590CC | |
rgb(80, 21, 144, 100%) | #501590FF |
Saturated and desaturated colors of #501590
HSL Code | Preview |
---|---|
hsl(269, 10%, 32%) | |
hsl(269, 20%, 32%) | |
hsl(269, 40%, 32%) | |
hsl(269, 60%, 32%) | |
hsl(269, 80%, 32%) | |
hsl(269, 100%, 32%) |
#501590 Color Usage In CSS
body { color: #501590; } p { color: rgb(80, 21, 144); } header { border-bottom:1px solid #501590; }