#5d0352 Color
Color Codes | |
---|---|
Hex Code | #5d0352 |
RGB Code | rgb(93, 03, 82) |
HSL Code | hsl(307, 94%, 19%) |
#5d0352 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(93, 03, 82); }
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(307, 94%, 19%); }
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 #5d0352
RGB Code | Hex Code | Preview |
---|---|---|
rgb(93, 03, 82, 10%) | #5d03521a | |
rgb(93, 03, 82, 20%) | #5d035233 | |
rgb(93, 03, 82, 40%) | #5d03524C | |
rgb(93, 03, 82, 60%) | #5d035299 | |
rgb(93, 03, 82, 80%) | #5d0352CC | |
rgb(93, 03, 82, 100%) | #5d0352FF |
Saturated and desaturated colors of #5d0352
HSL Code | Preview |
---|---|
hsl(307, 10%, 19%) | |
hsl(307, 20%, 19%) | |
hsl(307, 40%, 19%) | |
hsl(307, 60%, 19%) | |
hsl(307, 80%, 19%) | |
hsl(307, 100%, 19%) |
#5d0352 Color Usage In CSS
body { color: #5d0352; } p { color: rgb(93, 03, 82); } header { border-bottom:1px solid #5d0352; }