#cc1043 Color
Color Codes | |
---|---|
Hex Code | #cc1043 |
RGB Code | rgb(204, 16, 67) |
HSL Code | hsl(344, 85%, 43%) |
#cc1043 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(204, 16, 67); }
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(344, 85%, 43%); }
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 #cc1043
RGB Code | Hex Code | Preview |
---|---|---|
rgb(204, 16, 67, 10%) | #cc10431a | |
rgb(204, 16, 67, 20%) | #cc104333 | |
rgb(204, 16, 67, 40%) | #cc10434C | |
rgb(204, 16, 67, 60%) | #cc104399 | |
rgb(204, 16, 67, 80%) | #cc1043CC | |
rgb(204, 16, 67, 100%) | #cc1043FF |
Saturated and desaturated colors of #cc1043
HSL Code | Preview |
---|---|
hsl(344, 10%, 43%) | |
hsl(344, 20%, 43%) | |
hsl(344, 40%, 43%) | |
hsl(344, 60%, 43%) | |
hsl(344, 80%, 43%) | |
hsl(344, 100%, 43%) |
#cc1043 Color Usage In CSS
body { color: #cc1043; } p { color: rgb(204, 16, 67); } header { border-bottom:1px solid #cc1043; }