#9c999c Color
Color Codes | |
---|---|
Hex Code | #9c999c |
RGB Code | rgb(156, 153, 156) |
HSL Code | hsl(300, 1%, 61%) |
#9c999c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(156, 153, 156); }
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 #9c999c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(156, 153, 156, 10%) | #9c999c1a | |
rgb(156, 153, 156, 20%) | #9c999c33 | |
rgb(156, 153, 156, 40%) | #9c999c4C | |
rgb(156, 153, 156, 60%) | #9c999c99 | |
rgb(156, 153, 156, 80%) | #9c999cCC | |
rgb(156, 153, 156, 100%) | #9c999cFF |
Saturated and desaturated colors of #9c999c
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%) |
#9c999c Color Usage In CSS
body { color: #9c999c; } p { color: rgb(156, 153, 156); } header { border-bottom:1px solid #9c999c; }