#5801ba Color
Color Codes | |
---|---|
Hex Code | #5801ba |
RGB Code | rgb(88, 01, 186) |
HSL Code | hsl(268, 99%, 37%) |
#5801ba Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(88, 01, 186); }
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(268, 99%, 37%); }
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 #5801ba
RGB Code | Hex Code | Preview |
---|---|---|
rgb(88, 01, 186, 10%) | #5801ba1a | |
rgb(88, 01, 186, 20%) | #5801ba33 | |
rgb(88, 01, 186, 40%) | #5801ba4C | |
rgb(88, 01, 186, 60%) | #5801ba99 | |
rgb(88, 01, 186, 80%) | #5801baCC | |
rgb(88, 01, 186, 100%) | #5801baFF |
Saturated and desaturated colors of #5801ba
HSL Code | Preview |
---|---|
hsl(268, 10%, 37%) | |
hsl(268, 20%, 37%) | |
hsl(268, 40%, 37%) | |
hsl(268, 60%, 37%) | |
hsl(268, 80%, 37%) | |
hsl(268, 100%, 37%) |
#5801ba Color Usage In CSS
body { color: #5801ba; } p { color: rgb(88, 01, 186); } header { border-bottom:1px solid #5801ba; }