#9c9892 Color
Color Codes | |
---|---|
Hex Code | #9c9892 |
RGB Code | rgb(156, 152, 146) |
HSL Code | hsl(36, 5%, 59%) |
#9c9892 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(156, 152, 146); }
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(36, 5%, 59%); }
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 #9c9892
RGB Code | Hex Code | Preview |
---|---|---|
rgb(156, 152, 146, 10%) | #9c98921a | |
rgb(156, 152, 146, 20%) | #9c989233 | |
rgb(156, 152, 146, 40%) | #9c98924C | |
rgb(156, 152, 146, 60%) | #9c989299 | |
rgb(156, 152, 146, 80%) | #9c9892CC | |
rgb(156, 152, 146, 100%) | #9c9892FF |
Saturated and desaturated colors of #9c9892
HSL Code | Preview |
---|---|
hsl(36, 10%, 59%) | |
hsl(36, 20%, 59%) | |
hsl(36, 40%, 59%) | |
hsl(36, 60%, 59%) | |
hsl(36, 80%, 59%) | |
hsl(36, 100%, 59%) |
#9c9892 Color Usage In CSS
body { color: #9c9892; } p { color: rgb(156, 152, 146); } header { border-bottom:1px solid #9c9892; }