#d43e1c Color
Color Codes | |
---|---|
Hex Code | #d43e1c |
RGB Code | rgb(212, 62, 28) |
HSL Code | hsl(11, 77%, 47%) |
#d43e1c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(212, 62, 28); }
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, 77%, 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 #d43e1c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(212, 62, 28, 10%) | #d43e1c1a | |
rgb(212, 62, 28, 20%) | #d43e1c33 | |
rgb(212, 62, 28, 40%) | #d43e1c4C | |
rgb(212, 62, 28, 60%) | #d43e1c99 | |
rgb(212, 62, 28, 80%) | #d43e1cCC | |
rgb(212, 62, 28, 100%) | #d43e1cFF |
Saturated and desaturated colors of #d43e1c
HSL Code | Preview |
---|---|
hsl(11, 10%, 47%) | |
hsl(11, 20%, 47%) | |
hsl(11, 40%, 47%) | |
hsl(11, 60%, 47%) | |
hsl(11, 80%, 47%) | |
hsl(11, 100%, 47%) |
#d43e1c Color Usage In CSS
body { color: #d43e1c; } p { color: rgb(212, 62, 28); } header { border-bottom:1px solid #d43e1c; }