#cc1d70 Color
Color Codes | |
---|---|
Hex Code | #cc1d70 |
RGB Code | rgb(204, 29, 112) |
HSL Code | hsl(332, 75%, 46%) |
#cc1d70 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(204, 29, 112); }
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(332, 75%, 46%); }
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 #cc1d70
RGB Code | Hex Code | Preview |
---|---|---|
rgb(204, 29, 112, 10%) | #cc1d701a | |
rgb(204, 29, 112, 20%) | #cc1d7033 | |
rgb(204, 29, 112, 40%) | #cc1d704C | |
rgb(204, 29, 112, 60%) | #cc1d7099 | |
rgb(204, 29, 112, 80%) | #cc1d70CC | |
rgb(204, 29, 112, 100%) | #cc1d70FF |
Saturated and desaturated colors of #cc1d70
HSL Code | Preview |
---|---|
hsl(332, 10%, 46%) | |
hsl(332, 20%, 46%) | |
hsl(332, 40%, 46%) | |
hsl(332, 60%, 46%) | |
hsl(332, 80%, 46%) | |
hsl(332, 100%, 46%) |
#cc1d70 Color Usage In CSS
body { color: #cc1d70; } p { color: rgb(204, 29, 112); } header { border-bottom:1px solid #cc1d70; }