#b81b02 Color
Color Codes | |
---|---|
Hex Code | #b81b02 |
RGB Code | rgb(184, 27, 02) |
HSL Code | hsl(8, 98%, 36%) |
#b81b02 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(184, 27, 02); }
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(8, 98%, 36%); }
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 #b81b02
RGB Code | Hex Code | Preview |
---|---|---|
rgb(184, 27, 02, 10%) | #b81b021a | |
rgb(184, 27, 02, 20%) | #b81b0233 | |
rgb(184, 27, 02, 40%) | #b81b024C | |
rgb(184, 27, 02, 60%) | #b81b0299 | |
rgb(184, 27, 02, 80%) | #b81b02CC | |
rgb(184, 27, 02, 100%) | #b81b02FF |
Saturated and desaturated colors of #b81b02
HSL Code | Preview |
---|---|
hsl(8, 10%, 36%) | |
hsl(8, 20%, 36%) | |
hsl(8, 40%, 36%) | |
hsl(8, 60%, 36%) | |
hsl(8, 80%, 36%) | |
hsl(8, 100%, 36%) |
#b81b02 Color Usage In CSS
body { color: #b81b02; } p { color: rgb(184, 27, 02); } header { border-bottom:1px solid #b81b02; }