#9d9c9d Color
Color Codes | |
---|---|
Hex Code | #9d9c9d |
RGB Code | rgb(157, 156, 157) |
HSL Code | hsl(300, 1%, 61%) |
#9d9c9d Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(157, 156, 157); }
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(300, 1%, 61%); }
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 #9d9c9d
RGB Code | Hex Code | Preview |
---|---|---|
rgb(157, 156, 157, 10%) | #9d9c9d1a | |
rgb(157, 156, 157, 20%) | #9d9c9d33 | |
rgb(157, 156, 157, 40%) | #9d9c9d4C | |
rgb(157, 156, 157, 60%) | #9d9c9d99 | |
rgb(157, 156, 157, 80%) | #9d9c9dCC | |
rgb(157, 156, 157, 100%) | #9d9c9dFF |
Saturated and desaturated colors of #9d9c9d
HSL Code | Preview |
---|---|
hsl(300, 10%, 61%) | |
hsl(300, 20%, 61%) | |
hsl(300, 40%, 61%) | |
hsl(300, 60%, 61%) | |
hsl(300, 80%, 61%) | |
hsl(300, 100%, 61%) |
#9d9c9d Color Usage In CSS
body { color: #9d9c9d; } p { color: rgb(157, 156, 157); } header { border-bottom:1px solid #9d9c9d; }