#b22010 Color
Color Codes | |
---|---|
Hex Code | #b22010 |
RGB Code | rgb(178, 32, 16) |
HSL Code | hsl(6, 84%, 38%) |
#b22010 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(178, 32, 16); }
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(6, 84%, 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 #b22010
RGB Code | Hex Code | Preview |
---|---|---|
rgb(178, 32, 16, 10%) | #b220101a | |
rgb(178, 32, 16, 20%) | #b2201033 | |
rgb(178, 32, 16, 40%) | #b220104C | |
rgb(178, 32, 16, 60%) | #b2201099 | |
rgb(178, 32, 16, 80%) | #b22010CC | |
rgb(178, 32, 16, 100%) | #b22010FF |
Saturated and desaturated colors of #b22010
HSL Code | Preview |
---|---|
hsl(6, 10%, 38%) | |
hsl(6, 20%, 38%) | |
hsl(6, 40%, 38%) | |
hsl(6, 60%, 38%) | |
hsl(6, 80%, 38%) | |
hsl(6, 100%, 38%) |
#b22010 Color Usage In CSS
body { color: #b22010; } p { color: rgb(178, 32, 16); } header { border-bottom:1px solid #b22010; }