#571799 Color
Color Codes | |
---|---|
Hex Code | #571799 |
RGB Code | rgb(87, 23, 153) |
HSL Code | hsl(270, 74%, 35%) |
#571799 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(87, 23, 153); }
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(270, 74%, 35%); }
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 #571799
RGB Code | Hex Code | Preview |
---|---|---|
rgb(87, 23, 153, 10%) | #5717991a | |
rgb(87, 23, 153, 20%) | #57179933 | |
rgb(87, 23, 153, 40%) | #5717994C | |
rgb(87, 23, 153, 60%) | #57179999 | |
rgb(87, 23, 153, 80%) | #571799CC | |
rgb(87, 23, 153, 100%) | #571799FF |
Saturated and desaturated colors of #571799
HSL Code | Preview |
---|---|
hsl(270, 10%, 35%) | |
hsl(270, 20%, 35%) | |
hsl(270, 40%, 35%) | |
hsl(270, 60%, 35%) | |
hsl(270, 80%, 35%) | |
hsl(270, 100%, 35%) |
#571799 Color Usage In CSS
body { color: #571799; } p { color: rgb(87, 23, 153); } header { border-bottom:1px solid #571799; }