#8421ce Color
Color Codes | |
---|---|
Hex Code | #8421ce |
RGB Code | rgb(132, 33, 206) |
HSL Code | hsl(274, 72%, 47%) |
#8421ce Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(132, 33, 206); }
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(274, 72%, 47%); }
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 #8421ce
RGB Code | Hex Code | Preview |
---|---|---|
rgb(132, 33, 206, 10%) | #8421ce1a | |
rgb(132, 33, 206, 20%) | #8421ce33 | |
rgb(132, 33, 206, 40%) | #8421ce4C | |
rgb(132, 33, 206, 60%) | #8421ce99 | |
rgb(132, 33, 206, 80%) | #8421ceCC | |
rgb(132, 33, 206, 100%) | #8421ceFF |
Saturated and desaturated colors of #8421ce
HSL Code | Preview |
---|---|
hsl(274, 10%, 47%) | |
hsl(274, 20%, 47%) | |
hsl(274, 40%, 47%) | |
hsl(274, 60%, 47%) | |
hsl(274, 80%, 47%) | |
hsl(274, 100%, 47%) |
#8421ce Color Usage In CSS
body { color: #8421ce; } p { color: rgb(132, 33, 206); } header { border-bottom:1px solid #8421ce; }