#8704e6 Color
Color Codes | |
---|---|
Hex Code | #8704e6 |
RGB Code | rgb(135, 04, 230) |
HSL Code | hsl(275, 97%, 46%) |
#8704e6 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(135, 04, 230); }
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(275, 97%, 46%); }
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 #8704e6
RGB Code | Hex Code | Preview |
---|---|---|
rgb(135, 04, 230, 10%) | #8704e61a | |
rgb(135, 04, 230, 20%) | #8704e633 | |
rgb(135, 04, 230, 40%) | #8704e64C | |
rgb(135, 04, 230, 60%) | #8704e699 | |
rgb(135, 04, 230, 80%) | #8704e6CC | |
rgb(135, 04, 230, 100%) | #8704e6FF |
Saturated and desaturated colors of #8704e6
HSL Code | Preview |
---|---|
hsl(275, 10%, 46%) | |
hsl(275, 20%, 46%) | |
hsl(275, 40%, 46%) | |
hsl(275, 60%, 46%) | |
hsl(275, 80%, 46%) | |
hsl(275, 100%, 46%) |
#8704e6 Color Usage In CSS
body { color: #8704e6; } p { color: rgb(135, 04, 230); } header { border-bottom:1px solid #8704e6; }