#ba7876 Color
Color Codes | |
---|---|
Hex Code | #ba7876 |
RGB Code | rgb(186, 120, 118) |
HSL Code | hsl(2, 33%, 60%) |
#ba7876 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(186, 120, 118); }
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(2, 33%, 60%); }
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 #ba7876
RGB Code | Hex Code | Preview |
---|---|---|
rgb(186, 120, 118, 10%) | #ba78761a | |
rgb(186, 120, 118, 20%) | #ba787633 | |
rgb(186, 120, 118, 40%) | #ba78764C | |
rgb(186, 120, 118, 60%) | #ba787699 | |
rgb(186, 120, 118, 80%) | #ba7876CC | |
rgb(186, 120, 118, 100%) | #ba7876FF |
Saturated and desaturated colors of #ba7876
HSL Code | Preview |
---|---|
hsl(2, 10%, 60%) | |
hsl(2, 20%, 60%) | |
hsl(2, 40%, 60%) | |
hsl(2, 60%, 60%) | |
hsl(2, 80%, 60%) | |
hsl(2, 100%, 60%) |
#ba7876 Color Usage In CSS
body { color: #ba7876; } p { color: rgb(186, 120, 118); } header { border-bottom:1px solid #ba7876; }