#c52724 Color
Color Codes | |
---|---|
Hex Code | #c52724 |
RGB Code | rgb(197, 39, 36) |
HSL Code | hsl(1, 69%, 46%) |
#c52724 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(197, 39, 36); }
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(1, 69%, 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 #c52724
RGB Code | Hex Code | Preview |
---|---|---|
rgb(197, 39, 36, 10%) | #c527241a | |
rgb(197, 39, 36, 20%) | #c5272433 | |
rgb(197, 39, 36, 40%) | #c527244C | |
rgb(197, 39, 36, 60%) | #c5272499 | |
rgb(197, 39, 36, 80%) | #c52724CC | |
rgb(197, 39, 36, 100%) | #c52724FF |
Saturated and desaturated colors of #c52724
HSL Code | Preview |
---|---|
hsl(1, 10%, 46%) | |
hsl(1, 20%, 46%) | |
hsl(1, 40%, 46%) | |
hsl(1, 60%, 46%) | |
hsl(1, 80%, 46%) | |
hsl(1, 100%, 46%) |
#c52724 Color Usage In CSS
body { color: #c52724; } p { color: rgb(197, 39, 36); } header { border-bottom:1px solid #c52724; }