#ba9496 Color
Color Codes | |
---|---|
Hex Code | #ba9496 |
RGB Code | rgb(186, 148, 150) |
HSL Code | hsl(357, 22%, 65%) |
#ba9496 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(186, 148, 150); }
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, 22%, 65%); }
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 #ba9496
RGB Code | Hex Code | Preview |
---|---|---|
rgb(186, 148, 150, 10%) | #ba94961a | |
rgb(186, 148, 150, 20%) | #ba949633 | |
rgb(186, 148, 150, 40%) | #ba94964C | |
rgb(186, 148, 150, 60%) | #ba949699 | |
rgb(186, 148, 150, 80%) | #ba9496CC | |
rgb(186, 148, 150, 100%) | #ba9496FF |
Saturated and desaturated colors of #ba9496
HSL Code | Preview |
---|---|
hsl(357, 10%, 65%) | |
hsl(357, 20%, 65%) | |
hsl(357, 40%, 65%) | |
hsl(357, 60%, 65%) | |
hsl(357, 80%, 65%) | |
hsl(357, 100%, 65%) |
#ba9496 Color Usage In CSS
body { color: #ba9496; } p { color: rgb(186, 148, 150); } header { border-bottom:1px solid #ba9496; }