#9a9c91 Color
Color Codes | |
---|---|
Hex Code | #9a9c91 |
RGB Code | rgb(154, 156, 145) |
HSL Code | hsl(71, 5%, 59%) |
#9a9c91 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(154, 156, 145); }
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(71, 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 #9a9c91
RGB Code | Hex Code | Preview |
---|---|---|
rgb(154, 156, 145, 10%) | #9a9c911a | |
rgb(154, 156, 145, 20%) | #9a9c9133 | |
rgb(154, 156, 145, 40%) | #9a9c914C | |
rgb(154, 156, 145, 60%) | #9a9c9199 | |
rgb(154, 156, 145, 80%) | #9a9c91CC | |
rgb(154, 156, 145, 100%) | #9a9c91FF |
Saturated and desaturated colors of #9a9c91
HSL Code | Preview |
---|---|
hsl(71, 10%, 59%) | |
hsl(71, 20%, 59%) | |
hsl(71, 40%, 59%) | |
hsl(71, 60%, 59%) | |
hsl(71, 80%, 59%) | |
hsl(71, 100%, 59%) |
#9a9c91 Color Usage In CSS
body { color: #9a9c91; } p { color: rgb(154, 156, 145); } header { border-bottom:1px solid #9a9c91; }