#bb303b Color
Color Codes | |
---|---|
Hex Code | #bb303b |
RGB Code | rgb(187, 48, 59) |
HSL Code | hsl(355, 59%, 46%) |
#bb303b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(187, 48, 59); }
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(355, 59%, 46%); }
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 #bb303b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(187, 48, 59, 10%) | #bb303b1a | |
rgb(187, 48, 59, 20%) | #bb303b33 | |
rgb(187, 48, 59, 40%) | #bb303b4C | |
rgb(187, 48, 59, 60%) | #bb303b99 | |
rgb(187, 48, 59, 80%) | #bb303bCC | |
rgb(187, 48, 59, 100%) | #bb303bFF |
Saturated and desaturated colors of #bb303b
HSL Code | Preview |
---|---|
hsl(355, 10%, 46%) | |
hsl(355, 20%, 46%) | |
hsl(355, 40%, 46%) | |
hsl(355, 60%, 46%) | |
hsl(355, 80%, 46%) | |
hsl(355, 100%, 46%) |
#bb303b Color Usage In CSS
body { color: #bb303b; } p { color: rgb(187, 48, 59); } header { border-bottom:1px solid #bb303b; }