#cc7495 Color
Color Codes | |
---|---|
Hex Code | #cc7495 |
RGB Code | rgb(204, 116, 149) |
HSL Code | hsl(338, 46%, 63%) |
#cc7495 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(204, 116, 149); }
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(338, 46%, 63%); }
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 #cc7495
RGB Code | Hex Code | Preview |
---|---|---|
rgb(204, 116, 149, 10%) | #cc74951a | |
rgb(204, 116, 149, 20%) | #cc749533 | |
rgb(204, 116, 149, 40%) | #cc74954C | |
rgb(204, 116, 149, 60%) | #cc749599 | |
rgb(204, 116, 149, 80%) | #cc7495CC | |
rgb(204, 116, 149, 100%) | #cc7495FF |
Saturated and desaturated colors of #cc7495
HSL Code | Preview |
---|---|
hsl(338, 10%, 63%) | |
hsl(338, 20%, 63%) | |
hsl(338, 40%, 63%) | |
hsl(338, 60%, 63%) | |
hsl(338, 80%, 63%) | |
hsl(338, 100%, 63%) |
#cc7495 Color Usage In CSS
body { color: #cc7495; } p { color: rgb(204, 116, 149); } header { border-bottom:1px solid #cc7495; }