#b01f57 Color
Color Codes | |
---|---|
Hex Code | #b01f57 |
RGB Code | rgb(176, 31, 87) |
HSL Code | hsl(337, 70%, 41%) |
#b01f57 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(176, 31, 87); }
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(337, 70%, 41%); }
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 #b01f57
RGB Code | Hex Code | Preview |
---|---|---|
rgb(176, 31, 87, 10%) | #b01f571a | |
rgb(176, 31, 87, 20%) | #b01f5733 | |
rgb(176, 31, 87, 40%) | #b01f574C | |
rgb(176, 31, 87, 60%) | #b01f5799 | |
rgb(176, 31, 87, 80%) | #b01f57CC | |
rgb(176, 31, 87, 100%) | #b01f57FF |
Saturated and desaturated colors of #b01f57
HSL Code | Preview |
---|---|
hsl(337, 10%, 41%) | |
hsl(337, 20%, 41%) | |
hsl(337, 40%, 41%) | |
hsl(337, 60%, 41%) | |
hsl(337, 80%, 41%) | |
hsl(337, 100%, 41%) |
#b01f57 Color Usage In CSS
body { color: #b01f57; } p { color: rgb(176, 31, 87); } header { border-bottom:1px solid #b01f57; }