#8708de Color
Color Codes | |
---|---|
Hex Code | #8708de |
RGB Code | rgb(135, 08, 222) |
HSL Code | hsl(276, 93%, 45%) |
#8708de Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(135, 08, 222); }
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, 93%, 45%); }
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 #8708de
RGB Code | Hex Code | Preview |
---|---|---|
rgb(135, 08, 222, 10%) | #8708de1a | |
rgb(135, 08, 222, 20%) | #8708de33 | |
rgb(135, 08, 222, 40%) | #8708de4C | |
rgb(135, 08, 222, 60%) | #8708de99 | |
rgb(135, 08, 222, 80%) | #8708deCC | |
rgb(135, 08, 222, 100%) | #8708deFF |
Saturated and desaturated colors of #8708de
HSL Code | Preview |
---|---|
hsl(276, 10%, 45%) | |
hsl(276, 20%, 45%) | |
hsl(276, 40%, 45%) | |
hsl(276, 60%, 45%) | |
hsl(276, 80%, 45%) | |
hsl(276, 100%, 45%) |
#8708de Color Usage In CSS
body { color: #8708de; } p { color: rgb(135, 08, 222); } header { border-bottom:1px solid #8708de; }