#ca3c7e Color
Color Codes | |
---|---|
Hex Code | #ca3c7e |
RGB Code | rgb(202, 60, 126) |
HSL Code | hsl(332, 57%, 51%) |
#ca3c7e Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(202, 60, 126); }
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(332, 57%, 51%); }
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 #ca3c7e
RGB Code | Hex Code | Preview |
---|---|---|
rgb(202, 60, 126, 10%) | #ca3c7e1a | |
rgb(202, 60, 126, 20%) | #ca3c7e33 | |
rgb(202, 60, 126, 40%) | #ca3c7e4C | |
rgb(202, 60, 126, 60%) | #ca3c7e99 | |
rgb(202, 60, 126, 80%) | #ca3c7eCC | |
rgb(202, 60, 126, 100%) | #ca3c7eFF |
Saturated and desaturated colors of #ca3c7e
HSL Code | Preview |
---|---|
hsl(332, 10%, 51%) | |
hsl(332, 20%, 51%) | |
hsl(332, 40%, 51%) | |
hsl(332, 60%, 51%) | |
hsl(332, 80%, 51%) | |
hsl(332, 100%, 51%) |
#ca3c7e Color Usage In CSS
body { color: #ca3c7e; } p { color: rgb(202, 60, 126); } header { border-bottom:1px solid #ca3c7e; }