#999999 Color
Color Codes | |
---|---|
Hex Code | #999999 |
RGB Code | rgb(153, 153, 153) |
HSL Code | hsl(0, 0%, 60%) |
#999999 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(153, 153, 153); }
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(0, 0%, 60%); }
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 #999999
RGB Code | Hex Code | Preview |
---|---|---|
rgb(153, 153, 153, 10%) | #9999991a | |
rgb(153, 153, 153, 20%) | #99999933 | |
rgb(153, 153, 153, 40%) | #9999994C | |
rgb(153, 153, 153, 60%) | #99999999 | |
rgb(153, 153, 153, 80%) | #999999CC | |
rgb(153, 153, 153, 100%) | #999999FF |
Saturated and desaturated colors of #999999
HSL Code | Preview |
---|---|
hsl(0, 10%, 60%) | |
hsl(0, 20%, 60%) | |
hsl(0, 40%, 60%) | |
hsl(0, 60%, 60%) | |
hsl(0, 80%, 60%) | |
hsl(0, 100%, 60%) |
#999999 Color Usage In CSS
body { color: #999999; } p { color: rgb(153, 153, 153); } header { border-bottom:1px solid #999999; }