#ca4cec Color
Color Codes | |
---|---|
Hex Code | #ca4cec |
RGB Code | rgb(202, 76, 236) |
HSL Code | hsl(287, 81%, 61%) |
#ca4cec Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(202, 76, 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(287, 81%, 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 #ca4cec
RGB Code | Hex Code | Preview |
---|---|---|
rgb(202, 76, 236, 10%) | #ca4cec1a | |
rgb(202, 76, 236, 20%) | #ca4cec33 | |
rgb(202, 76, 236, 40%) | #ca4cec4C | |
rgb(202, 76, 236, 60%) | #ca4cec99 | |
rgb(202, 76, 236, 80%) | #ca4cecCC | |
rgb(202, 76, 236, 100%) | #ca4cecFF |
Saturated and desaturated colors of #ca4cec
HSL Code | Preview |
---|---|
hsl(287, 10%, 61%) | |
hsl(287, 20%, 61%) | |
hsl(287, 40%, 61%) | |
hsl(287, 60%, 61%) | |
hsl(287, 80%, 61%) | |
hsl(287, 100%, 61%) |
#ca4cec Color Usage In CSS
body { color: #ca4cec; } p { color: rgb(202, 76, 236); } header { border-bottom:1px solid #ca4cec; }