#b4073a Color
Color Codes | |
---|---|
Hex Code | #b4073a |
RGB Code | rgb(180, 07, 58) |
HSL Code | hsl(342, 93%, 37%) |
#b4073a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(180, 07, 58); }
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(342, 93%, 37%); }
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 #b4073a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(180, 07, 58, 10%) | #b4073a1a | |
rgb(180, 07, 58, 20%) | #b4073a33 | |
rgb(180, 07, 58, 40%) | #b4073a4C | |
rgb(180, 07, 58, 60%) | #b4073a99 | |
rgb(180, 07, 58, 80%) | #b4073aCC | |
rgb(180, 07, 58, 100%) | #b4073aFF |
Saturated and desaturated colors of #b4073a
HSL Code | Preview |
---|---|
hsl(342, 10%, 37%) | |
hsl(342, 20%, 37%) | |
hsl(342, 40%, 37%) | |
hsl(342, 60%, 37%) | |
hsl(342, 80%, 37%) | |
hsl(342, 100%, 37%) |
#b4073a Color Usage In CSS
body { color: #b4073a; } p { color: rgb(180, 07, 58); } header { border-bottom:1px solid #b4073a; }