#ca488e Color
Color Codes | |
---|---|
Hex Code | #ca488e |
RGB Code | rgb(202, 72, 142) |
HSL Code | hsl(328, 55%, 54%) |
#ca488e Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(202, 72, 142); }
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(328, 55%, 54%); }
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 #ca488e
RGB Code | Hex Code | Preview |
---|---|---|
rgb(202, 72, 142, 10%) | #ca488e1a | |
rgb(202, 72, 142, 20%) | #ca488e33 | |
rgb(202, 72, 142, 40%) | #ca488e4C | |
rgb(202, 72, 142, 60%) | #ca488e99 | |
rgb(202, 72, 142, 80%) | #ca488eCC | |
rgb(202, 72, 142, 100%) | #ca488eFF |
Saturated and desaturated colors of #ca488e
HSL Code | Preview |
---|---|
hsl(328, 10%, 54%) | |
hsl(328, 20%, 54%) | |
hsl(328, 40%, 54%) | |
hsl(328, 60%, 54%) | |
hsl(328, 80%, 54%) | |
hsl(328, 100%, 54%) |
#ca488e Color Usage In CSS
body { color: #ca488e; } p { color: rgb(202, 72, 142); } header { border-bottom:1px solid #ca488e; }