#c24b4f Color
Color Codes | |
---|---|
Hex Code | #c24b4f |
RGB Code | rgb(194, 75, 79) |
HSL Code | hsl(358, 49%, 53%) |
#c24b4f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(194, 75, 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(358, 49%, 53%); }
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 #c24b4f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(194, 75, 79, 10%) | #c24b4f1a | |
rgb(194, 75, 79, 20%) | #c24b4f33 | |
rgb(194, 75, 79, 40%) | #c24b4f4C | |
rgb(194, 75, 79, 60%) | #c24b4f99 | |
rgb(194, 75, 79, 80%) | #c24b4fCC | |
rgb(194, 75, 79, 100%) | #c24b4fFF |
Saturated and desaturated colors of #c24b4f
HSL Code | Preview |
---|---|
hsl(358, 10%, 53%) | |
hsl(358, 20%, 53%) | |
hsl(358, 40%, 53%) | |
hsl(358, 60%, 53%) | |
hsl(358, 80%, 53%) | |
hsl(358, 100%, 53%) |
#c24b4f Color Usage In CSS
body { color: #c24b4f; } p { color: rgb(194, 75, 79); } header { border-bottom:1px solid #c24b4f; }