#53155c Color
Color Codes | |
---|---|
Hex Code | #53155c |
RGB Code | rgb(83, 21, 92) |
HSL Code | hsl(292, 63%, 22%) |
#53155c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(83, 21, 92); }
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(292, 63%, 22%); }
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 #53155c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(83, 21, 92, 10%) | #53155c1a | |
rgb(83, 21, 92, 20%) | #53155c33 | |
rgb(83, 21, 92, 40%) | #53155c4C | |
rgb(83, 21, 92, 60%) | #53155c99 | |
rgb(83, 21, 92, 80%) | #53155cCC | |
rgb(83, 21, 92, 100%) | #53155cFF |
Saturated and desaturated colors of #53155c
HSL Code | Preview |
---|---|
hsl(292, 10%, 22%) | |
hsl(292, 20%, 22%) | |
hsl(292, 40%, 22%) | |
hsl(292, 60%, 22%) | |
hsl(292, 80%, 22%) | |
hsl(292, 100%, 22%) |
#53155c Color Usage In CSS
body { color: #53155c; } p { color: rgb(83, 21, 92); } header { border-bottom:1px solid #53155c; }