#b2a3aa Color
Color Codes | |
---|---|
Hex Code | #b2a3aa |
RGB Code | rgb(178, 163, 170) |
HSL Code | hsl(332, 9%, 67%) |
#b2a3aa Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(178, 163, 170); }
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(332, 9%, 67%); }
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 #b2a3aa
RGB Code | Hex Code | Preview |
---|---|---|
rgb(178, 163, 170, 10%) | #b2a3aa1a | |
rgb(178, 163, 170, 20%) | #b2a3aa33 | |
rgb(178, 163, 170, 40%) | #b2a3aa4C | |
rgb(178, 163, 170, 60%) | #b2a3aa99 | |
rgb(178, 163, 170, 80%) | #b2a3aaCC | |
rgb(178, 163, 170, 100%) | #b2a3aaFF |
Saturated and desaturated colors of #b2a3aa
HSL Code | Preview |
---|---|
hsl(332, 10%, 67%) | |
hsl(332, 20%, 67%) | |
hsl(332, 40%, 67%) | |
hsl(332, 60%, 67%) | |
hsl(332, 80%, 67%) | |
hsl(332, 100%, 67%) |
#b2a3aa Color Usage In CSS
body { color: #b2a3aa; } p { color: rgb(178, 163, 170); } header { border-bottom:1px solid #b2a3aa; }