#b32212 Color
Color Codes | |
---|---|
Hex Code | #b32212 |
RGB Code | rgb(179, 34, 18) |
HSL Code | hsl(6, 82%, 39%) |
#b32212 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(179, 34, 18); }
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, 82%, 39%); }
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 #b32212
RGB Code | Hex Code | Preview |
---|---|---|
rgb(179, 34, 18, 10%) | #b322121a | |
rgb(179, 34, 18, 20%) | #b3221233 | |
rgb(179, 34, 18, 40%) | #b322124C | |
rgb(179, 34, 18, 60%) | #b3221299 | |
rgb(179, 34, 18, 80%) | #b32212CC | |
rgb(179, 34, 18, 100%) | #b32212FF |
Saturated and desaturated colors of #b32212
HSL Code | Preview |
---|---|
hsl(6, 10%, 39%) | |
hsl(6, 20%, 39%) | |
hsl(6, 40%, 39%) | |
hsl(6, 60%, 39%) | |
hsl(6, 80%, 39%) | |
hsl(6, 100%, 39%) |
#b32212 Color Usage In CSS
body { color: #b32212; } p { color: rgb(179, 34, 18); } header { border-bottom:1px solid #b32212; }