#8a9799 Color
Color Codes | |
---|---|
Hex Code | #8a9799 |
RGB Code | rgb(138, 151, 153) |
HSL Code | hsl(188, 7%, 57%) |
#8a9799 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(138, 151, 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(188, 7%, 57%); }
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 #8a9799
RGB Code | Hex Code | Preview |
---|---|---|
rgb(138, 151, 153, 10%) | #8a97991a | |
rgb(138, 151, 153, 20%) | #8a979933 | |
rgb(138, 151, 153, 40%) | #8a97994C | |
rgb(138, 151, 153, 60%) | #8a979999 | |
rgb(138, 151, 153, 80%) | #8a9799CC | |
rgb(138, 151, 153, 100%) | #8a9799FF |
Saturated and desaturated colors of #8a9799
HSL Code | Preview |
---|---|
hsl(188, 10%, 57%) | |
hsl(188, 20%, 57%) | |
hsl(188, 40%, 57%) | |
hsl(188, 60%, 57%) | |
hsl(188, 80%, 57%) | |
hsl(188, 100%, 57%) |
#8a9799 Color Usage In CSS
body { color: #8a9799; } p { color: rgb(138, 151, 153); } header { border-bottom:1px solid #8a9799; }