#c05abf Color
Color Codes | |
---|---|
Hex Code | #c05abf |
RGB Code | rgb(192, 90, 191) |
HSL Code | hsl(301, 45%, 55%) |
#c05abf Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(192, 90, 191); }
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(301, 45%, 55%); }
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 #c05abf
RGB Code | Hex Code | Preview |
---|---|---|
rgb(192, 90, 191, 10%) | #c05abf1a | |
rgb(192, 90, 191, 20%) | #c05abf33 | |
rgb(192, 90, 191, 40%) | #c05abf4C | |
rgb(192, 90, 191, 60%) | #c05abf99 | |
rgb(192, 90, 191, 80%) | #c05abfCC | |
rgb(192, 90, 191, 100%) | #c05abfFF |
Saturated and desaturated colors of #c05abf
HSL Code | Preview |
---|---|
hsl(301, 10%, 55%) | |
hsl(301, 20%, 55%) | |
hsl(301, 40%, 55%) | |
hsl(301, 60%, 55%) | |
hsl(301, 80%, 55%) | |
hsl(301, 100%, 55%) |
#c05abf Color Usage In CSS
body { color: #c05abf; } p { color: rgb(192, 90, 191); } header { border-bottom:1px solid #c05abf; }