#db110b Color
Color Codes | |
---|---|
Hex Code | #db110b |
RGB Code | rgb(219, 17, 11) |
HSL Code | hsl(2, 90%, 45%) |
#db110b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(219, 17, 11); }
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(2, 90%, 45%); }
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 #db110b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(219, 17, 11, 10%) | #db110b1a | |
rgb(219, 17, 11, 20%) | #db110b33 | |
rgb(219, 17, 11, 40%) | #db110b4C | |
rgb(219, 17, 11, 60%) | #db110b99 | |
rgb(219, 17, 11, 80%) | #db110bCC | |
rgb(219, 17, 11, 100%) | #db110bFF |
Saturated and desaturated colors of #db110b
HSL Code | Preview |
---|---|
hsl(2, 10%, 45%) | |
hsl(2, 20%, 45%) | |
hsl(2, 40%, 45%) | |
hsl(2, 60%, 45%) | |
hsl(2, 80%, 45%) | |
hsl(2, 100%, 45%) |
#db110b Color Usage In CSS
body { color: #db110b; } p { color: rgb(219, 17, 11); } header { border-bottom:1px solid #db110b; }