#573f8c Color
Color Codes | |
---|---|
Hex Code | #573f8c |
RGB Code | rgb(87, 63, 140) |
HSL Code | hsl(259, 38%, 40%) |
#573f8c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(87, 63, 140); }
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(259, 38%, 40%); }
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 #573f8c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(87, 63, 140, 10%) | #573f8c1a | |
rgb(87, 63, 140, 20%) | #573f8c33 | |
rgb(87, 63, 140, 40%) | #573f8c4C | |
rgb(87, 63, 140, 60%) | #573f8c99 | |
rgb(87, 63, 140, 80%) | #573f8cCC | |
rgb(87, 63, 140, 100%) | #573f8cFF |
Saturated and desaturated colors of #573f8c
HSL Code | Preview |
---|---|
hsl(259, 10%, 40%) | |
hsl(259, 20%, 40%) | |
hsl(259, 40%, 40%) | |
hsl(259, 60%, 40%) | |
hsl(259, 80%, 40%) | |
hsl(259, 100%, 40%) |
#573f8c Color Usage In CSS
body { color: #573f8c; } p { color: rgb(87, 63, 140); } header { border-bottom:1px solid #573f8c; }