#a80ce6 Color
Color Codes | |
---|---|
Hex Code | #a80ce6 |
RGB Code | rgb(168, 12, 230) |
HSL Code | hsl(283, 90%, 47%) |
#a80ce6 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(168, 12, 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(283, 90%, 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 #a80ce6
RGB Code | Hex Code | Preview |
---|---|---|
rgb(168, 12, 230, 10%) | #a80ce61a | |
rgb(168, 12, 230, 20%) | #a80ce633 | |
rgb(168, 12, 230, 40%) | #a80ce64C | |
rgb(168, 12, 230, 60%) | #a80ce699 | |
rgb(168, 12, 230, 80%) | #a80ce6CC | |
rgb(168, 12, 230, 100%) | #a80ce6FF |
Saturated and desaturated colors of #a80ce6
HSL Code | Preview |
---|---|
hsl(283, 10%, 47%) | |
hsl(283, 20%, 47%) | |
hsl(283, 40%, 47%) | |
hsl(283, 60%, 47%) | |
hsl(283, 80%, 47%) | |
hsl(283, 100%, 47%) |
#a80ce6 Color Usage In CSS
body { color: #a80ce6; } p { color: rgb(168, 12, 230); } header { border-bottom:1px solid #a80ce6; }