#df182e Color
Color Codes | |
---|---|
Hex Code | #df182e |
RGB Code | rgb(223, 24, 46) |
HSL Code | hsl(353, 81%, 48%) |
#df182e Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(223, 24, 46); }
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(353, 81%, 48%); }
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 #df182e
RGB Code | Hex Code | Preview |
---|---|---|
rgb(223, 24, 46, 10%) | #df182e1a | |
rgb(223, 24, 46, 20%) | #df182e33 | |
rgb(223, 24, 46, 40%) | #df182e4C | |
rgb(223, 24, 46, 60%) | #df182e99 | |
rgb(223, 24, 46, 80%) | #df182eCC | |
rgb(223, 24, 46, 100%) | #df182eFF |
Saturated and desaturated colors of #df182e
HSL Code | Preview |
---|---|
hsl(353, 10%, 48%) | |
hsl(353, 20%, 48%) | |
hsl(353, 40%, 48%) | |
hsl(353, 60%, 48%) | |
hsl(353, 80%, 48%) | |
hsl(353, 100%, 48%) |
#df182e Color Usage In CSS
body { color: #df182e; } p { color: rgb(223, 24, 46); } header { border-bottom:1px solid #df182e; }