#c1452e Color
Color Codes | |
---|---|
Hex Code | #c1452e |
RGB Code | rgb(193, 69, 46) |
HSL Code | hsl(9, 62%, 47%) |
#c1452e Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(193, 69, 46); }
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(9, 62%, 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 #c1452e
RGB Code | Hex Code | Preview |
---|---|---|
rgb(193, 69, 46, 10%) | #c1452e1a | |
rgb(193, 69, 46, 20%) | #c1452e33 | |
rgb(193, 69, 46, 40%) | #c1452e4C | |
rgb(193, 69, 46, 60%) | #c1452e99 | |
rgb(193, 69, 46, 80%) | #c1452eCC | |
rgb(193, 69, 46, 100%) | #c1452eFF |
Saturated and desaturated colors of #c1452e
HSL Code | Preview |
---|---|
hsl(9, 10%, 47%) | |
hsl(9, 20%, 47%) | |
hsl(9, 40%, 47%) | |
hsl(9, 60%, 47%) | |
hsl(9, 80%, 47%) | |
hsl(9, 100%, 47%) |
#c1452e Color Usage In CSS
body { color: #c1452e; } p { color: rgb(193, 69, 46); } header { border-bottom:1px solid #c1452e; }