#58178e Color
Color Codes | |
---|---|
Hex Code | #58178e |
RGB Code | rgb(88, 23, 142) |
HSL Code | hsl(273, 72%, 32%) |
#58178e Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(88, 23, 142); }
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(273, 72%, 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 #58178e
RGB Code | Hex Code | Preview |
---|---|---|
rgb(88, 23, 142, 10%) | #58178e1a | |
rgb(88, 23, 142, 20%) | #58178e33 | |
rgb(88, 23, 142, 40%) | #58178e4C | |
rgb(88, 23, 142, 60%) | #58178e99 | |
rgb(88, 23, 142, 80%) | #58178eCC | |
rgb(88, 23, 142, 100%) | #58178eFF |
Saturated and desaturated colors of #58178e
HSL Code | Preview |
---|---|
hsl(273, 10%, 32%) | |
hsl(273, 20%, 32%) | |
hsl(273, 40%, 32%) | |
hsl(273, 60%, 32%) | |
hsl(273, 80%, 32%) | |
hsl(273, 100%, 32%) |
#58178e Color Usage In CSS
body { color: #58178e; } p { color: rgb(88, 23, 142); } header { border-bottom:1px solid #58178e; }