#c16efc Color
Color Codes | |
---|---|
Hex Code | #c16efc |
RGB Code | rgb(193, 110, 252) |
HSL Code | hsl(275, 96%, 71%) |
#c16efc Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(193, 110, 252); }
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(275, 96%, 71%); }
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 #c16efc
RGB Code | Hex Code | Preview |
---|---|---|
rgb(193, 110, 252, 10%) | #c16efc1a | |
rgb(193, 110, 252, 20%) | #c16efc33 | |
rgb(193, 110, 252, 40%) | #c16efc4C | |
rgb(193, 110, 252, 60%) | #c16efc99 | |
rgb(193, 110, 252, 80%) | #c16efcCC | |
rgb(193, 110, 252, 100%) | #c16efcFF |
Saturated and desaturated colors of #c16efc
HSL Code | Preview |
---|---|
hsl(275, 10%, 71%) | |
hsl(275, 20%, 71%) | |
hsl(275, 40%, 71%) | |
hsl(275, 60%, 71%) | |
hsl(275, 80%, 71%) | |
hsl(275, 100%, 71%) |
#c16efc Color Usage In CSS
body { color: #c16efc; } p { color: rgb(193, 110, 252); } header { border-bottom:1px solid #c16efc; }