#c23a2c Color
Color Codes | |
---|---|
Hex Code | #c23a2c |
RGB Code | rgb(194, 58, 44) |
HSL Code | hsl(6, 63%, 47%) |
#c23a2c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(194, 58, 44); }
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(6, 63%, 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 #c23a2c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(194, 58, 44, 10%) | #c23a2c1a | |
rgb(194, 58, 44, 20%) | #c23a2c33 | |
rgb(194, 58, 44, 40%) | #c23a2c4C | |
rgb(194, 58, 44, 60%) | #c23a2c99 | |
rgb(194, 58, 44, 80%) | #c23a2cCC | |
rgb(194, 58, 44, 100%) | #c23a2cFF |
Saturated and desaturated colors of #c23a2c
HSL Code | Preview |
---|---|
hsl(6, 10%, 47%) | |
hsl(6, 20%, 47%) | |
hsl(6, 40%, 47%) | |
hsl(6, 60%, 47%) | |
hsl(6, 80%, 47%) | |
hsl(6, 100%, 47%) |
#c23a2c Color Usage In CSS
body { color: #c23a2c; } p { color: rgb(194, 58, 44); } header { border-bottom:1px solid #c23a2c; }