#8539ed Color
Color Codes | |
---|---|
Hex Code | #8539ed |
RGB Code | rgb(133, 57, 237) |
HSL Code | hsl(265, 83%, 58%) |
#8539ed Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(133, 57, 237); }
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(265, 83%, 58%); }
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 #8539ed
RGB Code | Hex Code | Preview |
---|---|---|
rgb(133, 57, 237, 10%) | #8539ed1a | |
rgb(133, 57, 237, 20%) | #8539ed33 | |
rgb(133, 57, 237, 40%) | #8539ed4C | |
rgb(133, 57, 237, 60%) | #8539ed99 | |
rgb(133, 57, 237, 80%) | #8539edCC | |
rgb(133, 57, 237, 100%) | #8539edFF |
Saturated and desaturated colors of #8539ed
HSL Code | Preview |
---|---|
hsl(265, 10%, 58%) | |
hsl(265, 20%, 58%) | |
hsl(265, 40%, 58%) | |
hsl(265, 60%, 58%) | |
hsl(265, 80%, 58%) | |
hsl(265, 100%, 58%) |
#8539ed Color Usage In CSS
body { color: #8539ed; } p { color: rgb(133, 57, 237); } header { border-bottom:1px solid #8539ed; }