#ca3187 Color
Color Codes | |
---|---|
Hex Code | #ca3187 |
RGB Code | rgb(202, 49, 135) |
HSL Code | hsl(326, 61%, 49%) |
#ca3187 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(202, 49, 135); }
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(326, 61%, 49%); }
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 #ca3187
RGB Code | Hex Code | Preview |
---|---|---|
rgb(202, 49, 135, 10%) | #ca31871a | |
rgb(202, 49, 135, 20%) | #ca318733 | |
rgb(202, 49, 135, 40%) | #ca31874C | |
rgb(202, 49, 135, 60%) | #ca318799 | |
rgb(202, 49, 135, 80%) | #ca3187CC | |
rgb(202, 49, 135, 100%) | #ca3187FF |
Saturated and desaturated colors of #ca3187
HSL Code | Preview |
---|---|
hsl(326, 10%, 49%) | |
hsl(326, 20%, 49%) | |
hsl(326, 40%, 49%) | |
hsl(326, 60%, 49%) | |
hsl(326, 80%, 49%) | |
hsl(326, 100%, 49%) |
#ca3187 Color Usage In CSS
body { color: #ca3187; } p { color: rgb(202, 49, 135); } header { border-bottom:1px solid #ca3187; }