#a03efb Color
Color Codes | |
---|---|
Hex Code | #a03efb |
RGB Code | rgb(160, 62, 251) |
HSL Code | hsl(271, 96%, 61%) |
#a03efb Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(160, 62, 251); }
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(271, 96%, 61%); }
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 #a03efb
RGB Code | Hex Code | Preview |
---|---|---|
rgb(160, 62, 251, 10%) | #a03efb1a | |
rgb(160, 62, 251, 20%) | #a03efb33 | |
rgb(160, 62, 251, 40%) | #a03efb4C | |
rgb(160, 62, 251, 60%) | #a03efb99 | |
rgb(160, 62, 251, 80%) | #a03efbCC | |
rgb(160, 62, 251, 100%) | #a03efbFF |
Saturated and desaturated colors of #a03efb
HSL Code | Preview |
---|---|
hsl(271, 10%, 61%) | |
hsl(271, 20%, 61%) | |
hsl(271, 40%, 61%) | |
hsl(271, 60%, 61%) | |
hsl(271, 80%, 61%) | |
hsl(271, 100%, 61%) |
#a03efb Color Usage In CSS
body { color: #a03efb; } p { color: rgb(160, 62, 251); } header { border-bottom:1px solid #a03efb; }