#c6293c Color
Color Codes | |
---|---|
Hex Code | #c6293c |
RGB Code | rgb(198, 41, 60) |
HSL Code | hsl(353, 66%, 47%) |
#c6293c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(198, 41, 60); }
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(353, 66%, 47%); }
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 #c6293c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(198, 41, 60, 10%) | #c6293c1a | |
rgb(198, 41, 60, 20%) | #c6293c33 | |
rgb(198, 41, 60, 40%) | #c6293c4C | |
rgb(198, 41, 60, 60%) | #c6293c99 | |
rgb(198, 41, 60, 80%) | #c6293cCC | |
rgb(198, 41, 60, 100%) | #c6293cFF |
Saturated and desaturated colors of #c6293c
HSL Code | Preview |
---|---|
hsl(353, 10%, 47%) | |
hsl(353, 20%, 47%) | |
hsl(353, 40%, 47%) | |
hsl(353, 60%, 47%) | |
hsl(353, 80%, 47%) | |
hsl(353, 100%, 47%) |
#c6293c Color Usage In CSS
body { color: #c6293c; } p { color: rgb(198, 41, 60); } header { border-bottom:1px solid #c6293c; }