#581787 Color
Color Codes | |
---|---|
Hex Code | #581787 |
RGB Code | rgb(88, 23, 135) |
HSL Code | hsl(275, 71%, 31%) |
#581787 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(88, 23, 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(275, 71%, 31%); }
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 #581787
RGB Code | Hex Code | Preview |
---|---|---|
rgb(88, 23, 135, 10%) | #5817871a | |
rgb(88, 23, 135, 20%) | #58178733 | |
rgb(88, 23, 135, 40%) | #5817874C | |
rgb(88, 23, 135, 60%) | #58178799 | |
rgb(88, 23, 135, 80%) | #581787CC | |
rgb(88, 23, 135, 100%) | #581787FF |
Saturated and desaturated colors of #581787
HSL Code | Preview |
---|---|
hsl(275, 10%, 31%) | |
hsl(275, 20%, 31%) | |
hsl(275, 40%, 31%) | |
hsl(275, 60%, 31%) | |
hsl(275, 80%, 31%) | |
hsl(275, 100%, 31%) |
#581787 Color Usage In CSS
body { color: #581787; } p { color: rgb(88, 23, 135); } header { border-bottom:1px solid #581787; }