#9f9697 Color
Color Codes | |
---|---|
Hex Code | #9f9697 |
RGB Code | rgb(159, 150, 151) |
HSL Code | hsl(353, 4%, 61%) |
#9f9697 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(159, 150, 151); }
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(353, 4%, 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 #9f9697
RGB Code | Hex Code | Preview |
---|---|---|
rgb(159, 150, 151, 10%) | #9f96971a | |
rgb(159, 150, 151, 20%) | #9f969733 | |
rgb(159, 150, 151, 40%) | #9f96974C | |
rgb(159, 150, 151, 60%) | #9f969799 | |
rgb(159, 150, 151, 80%) | #9f9697CC | |
rgb(159, 150, 151, 100%) | #9f9697FF |
Saturated and desaturated colors of #9f9697
HSL Code | Preview |
---|---|
hsl(353, 10%, 61%) | |
hsl(353, 20%, 61%) | |
hsl(353, 40%, 61%) | |
hsl(353, 60%, 61%) | |
hsl(353, 80%, 61%) | |
hsl(353, 100%, 61%) |
#9f9697 Color Usage In CSS
body { color: #9f9697; } p { color: rgb(159, 150, 151); } header { border-bottom:1px solid #9f9697; }