#c10cec Color
Color Codes | |
---|---|
Hex Code | #c10cec |
RGB Code | rgb(193, 12, 236) |
HSL Code | hsl(288, 90%, 49%) |
#c10cec Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(193, 12, 236); }
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(288, 90%, 49%); }
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 #c10cec
RGB Code | Hex Code | Preview |
---|---|---|
rgb(193, 12, 236, 10%) | #c10cec1a | |
rgb(193, 12, 236, 20%) | #c10cec33 | |
rgb(193, 12, 236, 40%) | #c10cec4C | |
rgb(193, 12, 236, 60%) | #c10cec99 | |
rgb(193, 12, 236, 80%) | #c10cecCC | |
rgb(193, 12, 236, 100%) | #c10cecFF |
Saturated and desaturated colors of #c10cec
HSL Code | Preview |
---|---|
hsl(288, 10%, 49%) | |
hsl(288, 20%, 49%) | |
hsl(288, 40%, 49%) | |
hsl(288, 60%, 49%) | |
hsl(288, 80%, 49%) | |
hsl(288, 100%, 49%) |
#c10cec Color Usage In CSS
body { color: #c10cec; } p { color: rgb(193, 12, 236); } header { border-bottom:1px solid #c10cec; }