#ca155e Color
Color Codes | |
---|---|
Hex Code | #ca155e |
RGB Code | rgb(202, 21, 94) |
HSL Code | hsl(336, 81%, 44%) |
#ca155e Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(202, 21, 94); }
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(336, 81%, 44%); }
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 #ca155e
RGB Code | Hex Code | Preview |
---|---|---|
rgb(202, 21, 94, 10%) | #ca155e1a | |
rgb(202, 21, 94, 20%) | #ca155e33 | |
rgb(202, 21, 94, 40%) | #ca155e4C | |
rgb(202, 21, 94, 60%) | #ca155e99 | |
rgb(202, 21, 94, 80%) | #ca155eCC | |
rgb(202, 21, 94, 100%) | #ca155eFF |
Saturated and desaturated colors of #ca155e
HSL Code | Preview |
---|---|
hsl(336, 10%, 44%) | |
hsl(336, 20%, 44%) | |
hsl(336, 40%, 44%) | |
hsl(336, 60%, 44%) | |
hsl(336, 80%, 44%) | |
hsl(336, 100%, 44%) |
#ca155e Color Usage In CSS
body { color: #ca155e; } p { color: rgb(202, 21, 94); } header { border-bottom:1px solid #ca155e; }