#ca4ddc Color
Color Codes | |
---|---|
Hex Code | #ca4ddc |
RGB Code | rgb(202, 77, 220) |
HSL Code | hsl(292, 67%, 58%) |
#ca4ddc Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(202, 77, 220); }
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(292, 67%, 58%); }
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 #ca4ddc
RGB Code | Hex Code | Preview |
---|---|---|
rgb(202, 77, 220, 10%) | #ca4ddc1a | |
rgb(202, 77, 220, 20%) | #ca4ddc33 | |
rgb(202, 77, 220, 40%) | #ca4ddc4C | |
rgb(202, 77, 220, 60%) | #ca4ddc99 | |
rgb(202, 77, 220, 80%) | #ca4ddcCC | |
rgb(202, 77, 220, 100%) | #ca4ddcFF |
Saturated and desaturated colors of #ca4ddc
HSL Code | Preview |
---|---|
hsl(292, 10%, 58%) | |
hsl(292, 20%, 58%) | |
hsl(292, 40%, 58%) | |
hsl(292, 60%, 58%) | |
hsl(292, 80%, 58%) | |
hsl(292, 100%, 58%) |
#ca4ddc Color Usage In CSS
body { color: #ca4ddc; } p { color: rgb(202, 77, 220); } header { border-bottom:1px solid #ca4ddc; }