#bb4d52 Color
Color Codes | |
---|---|
Hex Code | #bb4d52 |
RGB Code | rgb(187, 77, 82) |
HSL Code | hsl(357, 45%, 52%) |
#bb4d52 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(187, 77, 82); }
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(357, 45%, 52%); }
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 #bb4d52
RGB Code | Hex Code | Preview |
---|---|---|
rgb(187, 77, 82, 10%) | #bb4d521a | |
rgb(187, 77, 82, 20%) | #bb4d5233 | |
rgb(187, 77, 82, 40%) | #bb4d524C | |
rgb(187, 77, 82, 60%) | #bb4d5299 | |
rgb(187, 77, 82, 80%) | #bb4d52CC | |
rgb(187, 77, 82, 100%) | #bb4d52FF |
Saturated and desaturated colors of #bb4d52
HSL Code | Preview |
---|---|
hsl(357, 10%, 52%) | |
hsl(357, 20%, 52%) | |
hsl(357, 40%, 52%) | |
hsl(357, 60%, 52%) | |
hsl(357, 80%, 52%) | |
hsl(357, 100%, 52%) |
#bb4d52 Color Usage In CSS
body { color: #bb4d52; } p { color: rgb(187, 77, 82); } header { border-bottom:1px solid #bb4d52; }