#9b7a7b Color
Color Codes | |
---|---|
Hex Code | #9b7a7b |
RGB Code | rgb(155, 122, 123) |
HSL Code | hsl(358, 14%, 54%) |
#9b7a7b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(155, 122, 123); }
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(358, 14%, 54%); }
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 #9b7a7b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(155, 122, 123, 10%) | #9b7a7b1a | |
rgb(155, 122, 123, 20%) | #9b7a7b33 | |
rgb(155, 122, 123, 40%) | #9b7a7b4C | |
rgb(155, 122, 123, 60%) | #9b7a7b99 | |
rgb(155, 122, 123, 80%) | #9b7a7bCC | |
rgb(155, 122, 123, 100%) | #9b7a7bFF |
Saturated and desaturated colors of #9b7a7b
HSL Code | Preview |
---|---|
hsl(358, 10%, 54%) | |
hsl(358, 20%, 54%) | |
hsl(358, 40%, 54%) | |
hsl(358, 60%, 54%) | |
hsl(358, 80%, 54%) | |
hsl(358, 100%, 54%) |
#9b7a7b Color Usage In CSS
body { color: #9b7a7b; } p { color: rgb(155, 122, 123); } header { border-bottom:1px solid #9b7a7b; }