#8543b6 Color
Color Codes | |
---|---|
Hex Code | #8543b6 |
RGB Code | rgb(133, 67, 182) |
HSL Code | hsl(274, 46%, 49%) |
#8543b6 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(133, 67, 182); }
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, 46%, 49%); }
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 #8543b6
RGB Code | Hex Code | Preview |
---|---|---|
rgb(133, 67, 182, 10%) | #8543b61a | |
rgb(133, 67, 182, 20%) | #8543b633 | |
rgb(133, 67, 182, 40%) | #8543b64C | |
rgb(133, 67, 182, 60%) | #8543b699 | |
rgb(133, 67, 182, 80%) | #8543b6CC | |
rgb(133, 67, 182, 100%) | #8543b6FF |
Saturated and desaturated colors of #8543b6
HSL Code | Preview |
---|---|
hsl(274, 10%, 49%) | |
hsl(274, 20%, 49%) | |
hsl(274, 40%, 49%) | |
hsl(274, 60%, 49%) | |
hsl(274, 80%, 49%) | |
hsl(274, 100%, 49%) |
#8543b6 Color Usage In CSS
body { color: #8543b6; } p { color: rgb(133, 67, 182); } header { border-bottom:1px solid #8543b6; }