#dc1413 Color
Color Codes | |
---|---|
Hex Code | #dc1413 |
RGB Code | rgb(220, 20, 19) |
HSL Code | hsl(0, 84%, 47%) |
#dc1413 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(220, 20, 19); }
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(0, 84%, 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 #dc1413
RGB Code | Hex Code | Preview |
---|---|---|
rgb(220, 20, 19, 10%) | #dc14131a | |
rgb(220, 20, 19, 20%) | #dc141333 | |
rgb(220, 20, 19, 40%) | #dc14134C | |
rgb(220, 20, 19, 60%) | #dc141399 | |
rgb(220, 20, 19, 80%) | #dc1413CC | |
rgb(220, 20, 19, 100%) | #dc1413FF |
Saturated and desaturated colors of #dc1413
HSL Code | Preview |
---|---|
hsl(0, 10%, 47%) | |
hsl(0, 20%, 47%) | |
hsl(0, 40%, 47%) | |
hsl(0, 60%, 47%) | |
hsl(0, 80%, 47%) | |
hsl(0, 100%, 47%) |
#dc1413 Color Usage In CSS
body { color: #dc1413; } p { color: rgb(220, 20, 19); } header { border-bottom:1px solid #dc1413; }