#b70931 Color
Color Codes | |
---|---|
Hex Code | #b70931 |
RGB Code | rgb(183, 09, 49) |
HSL Code | hsl(346, 91%, 38%) |
#b70931 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(183, 09, 49); }
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(346, 91%, 38%); }
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 #b70931
RGB Code | Hex Code | Preview |
---|---|---|
rgb(183, 09, 49, 10%) | #b709311a | |
rgb(183, 09, 49, 20%) | #b7093133 | |
rgb(183, 09, 49, 40%) | #b709314C | |
rgb(183, 09, 49, 60%) | #b7093199 | |
rgb(183, 09, 49, 80%) | #b70931CC | |
rgb(183, 09, 49, 100%) | #b70931FF |
Saturated and desaturated colors of #b70931
HSL Code | Preview |
---|---|
hsl(346, 10%, 38%) | |
hsl(346, 20%, 38%) | |
hsl(346, 40%, 38%) | |
hsl(346, 60%, 38%) | |
hsl(346, 80%, 38%) | |
hsl(346, 100%, 38%) |
#b70931 Color Usage In CSS
body { color: #b70931; } p { color: rgb(183, 09, 49); } header { border-bottom:1px solid #b70931; }