#b2283a Color
Color Codes | |
---|---|
Hex Code | #b2283a |
RGB Code | rgb(178, 40, 58) |
HSL Code | hsl(352, 63%, 43%) |
#b2283a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(178, 40, 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(352, 63%, 43%); }
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 #b2283a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(178, 40, 58, 10%) | #b2283a1a | |
rgb(178, 40, 58, 20%) | #b2283a33 | |
rgb(178, 40, 58, 40%) | #b2283a4C | |
rgb(178, 40, 58, 60%) | #b2283a99 | |
rgb(178, 40, 58, 80%) | #b2283aCC | |
rgb(178, 40, 58, 100%) | #b2283aFF |
Saturated and desaturated colors of #b2283a
HSL Code | Preview |
---|---|
hsl(352, 10%, 43%) | |
hsl(352, 20%, 43%) | |
hsl(352, 40%, 43%) | |
hsl(352, 60%, 43%) | |
hsl(352, 80%, 43%) | |
hsl(352, 100%, 43%) |
#b2283a Color Usage In CSS
body { color: #b2283a; } p { color: rgb(178, 40, 58); } header { border-bottom:1px solid #b2283a; }