#8570cc Color
Color Codes | |
---|---|
Hex Code | #8570cc |
RGB Code | rgb(133, 112, 204) |
HSL Code | hsl(254, 47%, 62%) |
#8570cc Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(133, 112, 204); }
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(254, 47%, 62%); }
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 #8570cc
RGB Code | Hex Code | Preview |
---|---|---|
rgb(133, 112, 204, 10%) | #8570cc1a | |
rgb(133, 112, 204, 20%) | #8570cc33 | |
rgb(133, 112, 204, 40%) | #8570cc4C | |
rgb(133, 112, 204, 60%) | #8570cc99 | |
rgb(133, 112, 204, 80%) | #8570ccCC | |
rgb(133, 112, 204, 100%) | #8570ccFF |
Saturated and desaturated colors of #8570cc
HSL Code | Preview |
---|---|
hsl(254, 10%, 62%) | |
hsl(254, 20%, 62%) | |
hsl(254, 40%, 62%) | |
hsl(254, 60%, 62%) | |
hsl(254, 80%, 62%) | |
hsl(254, 100%, 62%) |
#8570cc Color Usage In CSS
body { color: #8570cc; } p { color: rgb(133, 112, 204); } header { border-bottom:1px solid #8570cc; }