#bc2b31 Color
Color Codes | |
---|---|
Hex Code | #bc2b31 |
RGB Code | rgb(188, 43, 49) |
HSL Code | hsl(358, 63%, 45%) |
#bc2b31 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(188, 43, 49); }
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(358, 63%, 45%); }
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 #bc2b31
RGB Code | Hex Code | Preview |
---|---|---|
rgb(188, 43, 49, 10%) | #bc2b311a | |
rgb(188, 43, 49, 20%) | #bc2b3133 | |
rgb(188, 43, 49, 40%) | #bc2b314C | |
rgb(188, 43, 49, 60%) | #bc2b3199 | |
rgb(188, 43, 49, 80%) | #bc2b31CC | |
rgb(188, 43, 49, 100%) | #bc2b31FF |
Saturated and desaturated colors of #bc2b31
HSL Code | Preview |
---|---|
hsl(358, 10%, 45%) | |
hsl(358, 20%, 45%) | |
hsl(358, 40%, 45%) | |
hsl(358, 60%, 45%) | |
hsl(358, 80%, 45%) | |
hsl(358, 100%, 45%) |
#bc2b31 Color Usage In CSS
body { color: #bc2b31; } p { color: rgb(188, 43, 49); } header { border-bottom:1px solid #bc2b31; }