#8638aa Color
Color Codes | |
---|---|
Hex Code | #8638aa |
RGB Code | rgb(134, 56, 170) |
HSL Code | hsl(281, 50%, 44%) |
#8638aa Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(134, 56, 170); }
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(281, 50%, 44%); }
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 #8638aa
RGB Code | Hex Code | Preview |
---|---|---|
rgb(134, 56, 170, 10%) | #8638aa1a | |
rgb(134, 56, 170, 20%) | #8638aa33 | |
rgb(134, 56, 170, 40%) | #8638aa4C | |
rgb(134, 56, 170, 60%) | #8638aa99 | |
rgb(134, 56, 170, 80%) | #8638aaCC | |
rgb(134, 56, 170, 100%) | #8638aaFF |
Saturated and desaturated colors of #8638aa
HSL Code | Preview |
---|---|
hsl(281, 10%, 44%) | |
hsl(281, 20%, 44%) | |
hsl(281, 40%, 44%) | |
hsl(281, 60%, 44%) | |
hsl(281, 80%, 44%) | |
hsl(281, 100%, 44%) |
#8638aa Color Usage In CSS
body { color: #8638aa; } p { color: rgb(134, 56, 170); } header { border-bottom:1px solid #8638aa; }