#d70722 Color
Color Codes | |
---|---|
Hex Code | #d70722 |
RGB Code | rgb(215, 07, 34) |
HSL Code | hsl(352, 94%, 44%) |
#d70722 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(215, 07, 34); }
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(352, 94%, 44%); }
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 #d70722
RGB Code | Hex Code | Preview |
---|---|---|
rgb(215, 07, 34, 10%) | #d707221a | |
rgb(215, 07, 34, 20%) | #d7072233 | |
rgb(215, 07, 34, 40%) | #d707224C | |
rgb(215, 07, 34, 60%) | #d7072299 | |
rgb(215, 07, 34, 80%) | #d70722CC | |
rgb(215, 07, 34, 100%) | #d70722FF |
Saturated and desaturated colors of #d70722
HSL Code | Preview |
---|---|
hsl(352, 10%, 44%) | |
hsl(352, 20%, 44%) | |
hsl(352, 40%, 44%) | |
hsl(352, 60%, 44%) | |
hsl(352, 80%, 44%) | |
hsl(352, 100%, 44%) |
#d70722 Color Usage In CSS
body { color: #d70722; } p { color: rgb(215, 07, 34); } header { border-bottom:1px solid #d70722; }