#cb243c Color
Color Codes | |
---|---|
Hex Code | #cb243c |
RGB Code | rgb(203, 36, 60) |
HSL Code | hsl(351, 70%, 47%) |
#cb243c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(203, 36, 60); }
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(351, 70%, 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 #cb243c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(203, 36, 60, 10%) | #cb243c1a | |
rgb(203, 36, 60, 20%) | #cb243c33 | |
rgb(203, 36, 60, 40%) | #cb243c4C | |
rgb(203, 36, 60, 60%) | #cb243c99 | |
rgb(203, 36, 60, 80%) | #cb243cCC | |
rgb(203, 36, 60, 100%) | #cb243cFF |
Saturated and desaturated colors of #cb243c
HSL Code | Preview |
---|---|
hsl(351, 10%, 47%) | |
hsl(351, 20%, 47%) | |
hsl(351, 40%, 47%) | |
hsl(351, 60%, 47%) | |
hsl(351, 80%, 47%) | |
hsl(351, 100%, 47%) |
#cb243c Color Usage In CSS
body { color: #cb243c; } p { color: rgb(203, 36, 60); } header { border-bottom:1px solid #cb243c; }