#df070e Color
Color Codes | |
---|---|
Hex Code | #df070e |
RGB Code | rgb(223, 07, 14) |
HSL Code | hsl(358, 94%, 45%) |
#df070e Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(223, 07, 14); }
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, 94%, 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 #df070e
RGB Code | Hex Code | Preview |
---|---|---|
rgb(223, 07, 14, 10%) | #df070e1a | |
rgb(223, 07, 14, 20%) | #df070e33 | |
rgb(223, 07, 14, 40%) | #df070e4C | |
rgb(223, 07, 14, 60%) | #df070e99 | |
rgb(223, 07, 14, 80%) | #df070eCC | |
rgb(223, 07, 14, 100%) | #df070eFF |
Saturated and desaturated colors of #df070e
HSL Code | Preview |
---|---|
hsl(358, 10%, 45%) | |
hsl(358, 20%, 45%) | |
hsl(358, 40%, 45%) | |
hsl(358, 60%, 45%) | |
hsl(358, 80%, 45%) | |
hsl(358, 100%, 45%) |
#df070e Color Usage In CSS
body { color: #df070e; } p { color: rgb(223, 07, 14); } header { border-bottom:1px solid #df070e; }