#ca0a5d Color
Color Codes | |
---|---|
Hex Code | #ca0a5d |
RGB Code | rgb(202, 10, 93) |
HSL Code | hsl(334, 91%, 42%) |
#ca0a5d Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(202, 10, 93); }
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(334, 91%, 42%); }
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 #ca0a5d
RGB Code | Hex Code | Preview |
---|---|---|
rgb(202, 10, 93, 10%) | #ca0a5d1a | |
rgb(202, 10, 93, 20%) | #ca0a5d33 | |
rgb(202, 10, 93, 40%) | #ca0a5d4C | |
rgb(202, 10, 93, 60%) | #ca0a5d99 | |
rgb(202, 10, 93, 80%) | #ca0a5dCC | |
rgb(202, 10, 93, 100%) | #ca0a5dFF |
Saturated and desaturated colors of #ca0a5d
HSL Code | Preview |
---|---|
hsl(334, 10%, 42%) | |
hsl(334, 20%, 42%) | |
hsl(334, 40%, 42%) | |
hsl(334, 60%, 42%) | |
hsl(334, 80%, 42%) | |
hsl(334, 100%, 42%) |
#ca0a5d Color Usage In CSS
body { color: #ca0a5d; } p { color: rgb(202, 10, 93); } header { border-bottom:1px solid #ca0a5d; }