#c1374f Color
Color Codes | |
---|---|
Hex Code | #c1374f |
RGB Code | rgb(193, 55, 79) |
HSL Code | hsl(350, 56%, 49%) |
#c1374f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(193, 55, 79); }
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(350, 56%, 49%); }
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 #c1374f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(193, 55, 79, 10%) | #c1374f1a | |
rgb(193, 55, 79, 20%) | #c1374f33 | |
rgb(193, 55, 79, 40%) | #c1374f4C | |
rgb(193, 55, 79, 60%) | #c1374f99 | |
rgb(193, 55, 79, 80%) | #c1374fCC | |
rgb(193, 55, 79, 100%) | #c1374fFF |
Saturated and desaturated colors of #c1374f
HSL Code | Preview |
---|---|
hsl(350, 10%, 49%) | |
hsl(350, 20%, 49%) | |
hsl(350, 40%, 49%) | |
hsl(350, 60%, 49%) | |
hsl(350, 80%, 49%) | |
hsl(350, 100%, 49%) |
#c1374f Color Usage In CSS
body { color: #c1374f; } p { color: rgb(193, 55, 79); } header { border-bottom:1px solid #c1374f; }