#70151b Color
Color Codes | |
---|---|
Hex Code | #70151b |
RGB Code | rgb(112, 21, 27) |
HSL Code | hsl(356, 68%, 26%) |
#70151b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(112, 21, 27); }
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(356, 68%, 26%); }
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 #70151b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(112, 21, 27, 10%) | #70151b1a | |
rgb(112, 21, 27, 20%) | #70151b33 | |
rgb(112, 21, 27, 40%) | #70151b4C | |
rgb(112, 21, 27, 60%) | #70151b99 | |
rgb(112, 21, 27, 80%) | #70151bCC | |
rgb(112, 21, 27, 100%) | #70151bFF |
Saturated and desaturated colors of #70151b
HSL Code | Preview |
---|---|
hsl(356, 10%, 26%) | |
hsl(356, 20%, 26%) | |
hsl(356, 40%, 26%) | |
hsl(356, 60%, 26%) | |
hsl(356, 80%, 26%) | |
hsl(356, 100%, 26%) |
#70151b Color Usage In CSS
body { color: #70151b; } p { color: rgb(112, 21, 27); } header { border-bottom:1px solid #70151b; }