#bb2b0b Color
Color Codes | |
---|---|
Hex Code | #bb2b0b |
RGB Code | rgb(187, 43, 11) |
HSL Code | hsl(11, 89%, 39%) |
#bb2b0b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(187, 43, 11); }
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(11, 89%, 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 #bb2b0b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(187, 43, 11, 10%) | #bb2b0b1a | |
rgb(187, 43, 11, 20%) | #bb2b0b33 | |
rgb(187, 43, 11, 40%) | #bb2b0b4C | |
rgb(187, 43, 11, 60%) | #bb2b0b99 | |
rgb(187, 43, 11, 80%) | #bb2b0bCC | |
rgb(187, 43, 11, 100%) | #bb2b0bFF |
Saturated and desaturated colors of #bb2b0b
HSL Code | Preview |
---|---|
hsl(11, 10%, 39%) | |
hsl(11, 20%, 39%) | |
hsl(11, 40%, 39%) | |
hsl(11, 60%, 39%) | |
hsl(11, 80%, 39%) | |
hsl(11, 100%, 39%) |
#bb2b0b Color Usage In CSS
body { color: #bb2b0b; } p { color: rgb(187, 43, 11); } header { border-bottom:1px solid #bb2b0b; }