#d7394b Color
Color Codes | |
---|---|
Hex Code | #d7394b |
RGB Code | rgb(215, 57, 75) |
HSL Code | hsl(353, 66%, 53%) |
#d7394b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(215, 57, 75); }
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, 66%, 53%); }
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 #d7394b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(215, 57, 75, 10%) | #d7394b1a | |
rgb(215, 57, 75, 20%) | #d7394b33 | |
rgb(215, 57, 75, 40%) | #d7394b4C | |
rgb(215, 57, 75, 60%) | #d7394b99 | |
rgb(215, 57, 75, 80%) | #d7394bCC | |
rgb(215, 57, 75, 100%) | #d7394bFF |
Saturated and desaturated colors of #d7394b
HSL Code | Preview |
---|---|
hsl(353, 10%, 53%) | |
hsl(353, 20%, 53%) | |
hsl(353, 40%, 53%) | |
hsl(353, 60%, 53%) | |
hsl(353, 80%, 53%) | |
hsl(353, 100%, 53%) |
#d7394b Color Usage In CSS
body { color: #d7394b; } p { color: rgb(215, 57, 75); } header { border-bottom:1px solid #d7394b; }