#5d0b96 Color
Color Codes | |
---|---|
Hex Code | #5d0b96 |
RGB Code | rgb(93, 11, 150) |
HSL Code | hsl(275, 86%, 32%) |
#5d0b96 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(93, 11, 150); }
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, 86%, 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 #5d0b96
RGB Code | Hex Code | Preview |
---|---|---|
rgb(93, 11, 150, 10%) | #5d0b961a | |
rgb(93, 11, 150, 20%) | #5d0b9633 | |
rgb(93, 11, 150, 40%) | #5d0b964C | |
rgb(93, 11, 150, 60%) | #5d0b9699 | |
rgb(93, 11, 150, 80%) | #5d0b96CC | |
rgb(93, 11, 150, 100%) | #5d0b96FF |
Saturated and desaturated colors of #5d0b96
HSL Code | Preview |
---|---|
hsl(275, 10%, 32%) | |
hsl(275, 20%, 32%) | |
hsl(275, 40%, 32%) | |
hsl(275, 60%, 32%) | |
hsl(275, 80%, 32%) | |
hsl(275, 100%, 32%) |
#5d0b96 Color Usage In CSS
body { color: #5d0b96; } p { color: rgb(93, 11, 150); } header { border-bottom:1px solid #5d0b96; }