#b91124 Color
Color Codes | |
---|---|
Hex Code | #b91124 |
RGB Code | rgb(185, 17, 36) |
HSL Code | hsl(353, 83%, 40%) |
#b91124 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(185, 17, 36); }
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(353, 83%, 40%); }
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 #b91124
RGB Code | Hex Code | Preview |
---|---|---|
rgb(185, 17, 36, 10%) | #b911241a | |
rgb(185, 17, 36, 20%) | #b9112433 | |
rgb(185, 17, 36, 40%) | #b911244C | |
rgb(185, 17, 36, 60%) | #b9112499 | |
rgb(185, 17, 36, 80%) | #b91124CC | |
rgb(185, 17, 36, 100%) | #b91124FF |
Saturated and desaturated colors of #b91124
HSL Code | Preview |
---|---|
hsl(353, 10%, 40%) | |
hsl(353, 20%, 40%) | |
hsl(353, 40%, 40%) | |
hsl(353, 60%, 40%) | |
hsl(353, 80%, 40%) | |
hsl(353, 100%, 40%) |
#b91124 Color Usage In CSS
body { color: #b91124; } p { color: rgb(185, 17, 36); } header { border-bottom:1px solid #b91124; }