#ba5752 Color
Color Codes | |
---|---|
Hex Code | #ba5752 |
RGB Code | rgb(186, 87, 82) |
HSL Code | hsl(3, 43%, 53%) |
#ba5752 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(186, 87, 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(3, 43%, 53%); }
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 #ba5752
RGB Code | Hex Code | Preview |
---|---|---|
rgb(186, 87, 82, 10%) | #ba57521a | |
rgb(186, 87, 82, 20%) | #ba575233 | |
rgb(186, 87, 82, 40%) | #ba57524C | |
rgb(186, 87, 82, 60%) | #ba575299 | |
rgb(186, 87, 82, 80%) | #ba5752CC | |
rgb(186, 87, 82, 100%) | #ba5752FF |
Saturated and desaturated colors of #ba5752
HSL Code | Preview |
---|---|
hsl(3, 10%, 53%) | |
hsl(3, 20%, 53%) | |
hsl(3, 40%, 53%) | |
hsl(3, 60%, 53%) | |
hsl(3, 80%, 53%) | |
hsl(3, 100%, 53%) |
#ba5752 Color Usage In CSS
body { color: #ba5752; } p { color: rgb(186, 87, 82); } header { border-bottom:1px solid #ba5752; }