#c13a1b Color
Color Codes | |
---|---|
Hex Code | #c13a1b |
RGB Code | rgb(193, 58, 27) |
HSL Code | hsl(11, 75%, 43%) |
#c13a1b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(193, 58, 27); }
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(11, 75%, 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 #c13a1b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(193, 58, 27, 10%) | #c13a1b1a | |
rgb(193, 58, 27, 20%) | #c13a1b33 | |
rgb(193, 58, 27, 40%) | #c13a1b4C | |
rgb(193, 58, 27, 60%) | #c13a1b99 | |
rgb(193, 58, 27, 80%) | #c13a1bCC | |
rgb(193, 58, 27, 100%) | #c13a1bFF |
Saturated and desaturated colors of #c13a1b
HSL Code | Preview |
---|---|
hsl(11, 10%, 43%) | |
hsl(11, 20%, 43%) | |
hsl(11, 40%, 43%) | |
hsl(11, 60%, 43%) | |
hsl(11, 80%, 43%) | |
hsl(11, 100%, 43%) |
#c13a1b Color Usage In CSS
body { color: #c13a1b; } p { color: rgb(193, 58, 27); } header { border-bottom:1px solid #c13a1b; }