#c91245 Color
Color Codes | |
---|---|
Hex Code | #c91245 |
RGB Code | rgb(201, 18, 69) |
HSL Code | hsl(343, 84%, 43%) |
#c91245 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(201, 18, 69); }
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(343, 84%, 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 #c91245
RGB Code | Hex Code | Preview |
---|---|---|
rgb(201, 18, 69, 10%) | #c912451a | |
rgb(201, 18, 69, 20%) | #c9124533 | |
rgb(201, 18, 69, 40%) | #c912454C | |
rgb(201, 18, 69, 60%) | #c9124599 | |
rgb(201, 18, 69, 80%) | #c91245CC | |
rgb(201, 18, 69, 100%) | #c91245FF |
Saturated and desaturated colors of #c91245
HSL Code | Preview |
---|---|
hsl(343, 10%, 43%) | |
hsl(343, 20%, 43%) | |
hsl(343, 40%, 43%) | |
hsl(343, 60%, 43%) | |
hsl(343, 80%, 43%) | |
hsl(343, 100%, 43%) |
#c91245 Color Usage In CSS
body { color: #c91245; } p { color: rgb(201, 18, 69); } header { border-bottom:1px solid #c91245; }