#a705cb Color
Color Codes | |
---|---|
Hex Code | #a705cb |
RGB Code | rgb(167, 05, 203) |
HSL Code | hsl(289, 95%, 41%) |
#a705cb Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(167, 05, 203); }
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(289, 95%, 41%); }
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 #a705cb
RGB Code | Hex Code | Preview |
---|---|---|
rgb(167, 05, 203, 10%) | #a705cb1a | |
rgb(167, 05, 203, 20%) | #a705cb33 | |
rgb(167, 05, 203, 40%) | #a705cb4C | |
rgb(167, 05, 203, 60%) | #a705cb99 | |
rgb(167, 05, 203, 80%) | #a705cbCC | |
rgb(167, 05, 203, 100%) | #a705cbFF |
Saturated and desaturated colors of #a705cb
HSL Code | Preview |
---|---|
hsl(289, 10%, 41%) | |
hsl(289, 20%, 41%) | |
hsl(289, 40%, 41%) | |
hsl(289, 60%, 41%) | |
hsl(289, 80%, 41%) | |
hsl(289, 100%, 41%) |
#a705cb Color Usage In CSS
body { color: #a705cb; } p { color: rgb(167, 05, 203); } header { border-bottom:1px solid #a705cb; }