#57207b Color
Color Codes | |
---|---|
Hex Code | #57207b |
RGB Code | rgb(87, 32, 123) |
HSL Code | hsl(276, 59%, 30%) |
#57207b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(87, 32, 123); }
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(276, 59%, 30%); }
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 #57207b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(87, 32, 123, 10%) | #57207b1a | |
rgb(87, 32, 123, 20%) | #57207b33 | |
rgb(87, 32, 123, 40%) | #57207b4C | |
rgb(87, 32, 123, 60%) | #57207b99 | |
rgb(87, 32, 123, 80%) | #57207bCC | |
rgb(87, 32, 123, 100%) | #57207bFF |
Saturated and desaturated colors of #57207b
HSL Code | Preview |
---|---|
hsl(276, 10%, 30%) | |
hsl(276, 20%, 30%) | |
hsl(276, 40%, 30%) | |
hsl(276, 60%, 30%) | |
hsl(276, 80%, 30%) | |
hsl(276, 100%, 30%) |
#57207b Color Usage In CSS
body { color: #57207b; } p { color: rgb(87, 32, 123); } header { border-bottom:1px solid #57207b; }