#cc43dd Color
Color Codes | |
---|---|
Hex Code | #cc43dd |
RGB Code | rgb(204, 67, 221) |
HSL Code | hsl(293, 69%, 56%) |
#cc43dd Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(204, 67, 221); }
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(293, 69%, 56%); }
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 #cc43dd
RGB Code | Hex Code | Preview |
---|---|---|
rgb(204, 67, 221, 10%) | #cc43dd1a | |
rgb(204, 67, 221, 20%) | #cc43dd33 | |
rgb(204, 67, 221, 40%) | #cc43dd4C | |
rgb(204, 67, 221, 60%) | #cc43dd99 | |
rgb(204, 67, 221, 80%) | #cc43ddCC | |
rgb(204, 67, 221, 100%) | #cc43ddFF |
Saturated and desaturated colors of #cc43dd
HSL Code | Preview |
---|---|
hsl(293, 10%, 56%) | |
hsl(293, 20%, 56%) | |
hsl(293, 40%, 56%) | |
hsl(293, 60%, 56%) | |
hsl(293, 80%, 56%) | |
hsl(293, 100%, 56%) |
#cc43dd Color Usage In CSS
body { color: #cc43dd; } p { color: rgb(204, 67, 221); } header { border-bottom:1px solid #cc43dd; }