#7a8587 Color
Color Codes | |
---|---|
Hex Code | #7a8587 |
RGB Code | rgb(122, 133, 135) |
HSL Code | hsl(189, 5%, 50%) |
#7a8587 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(122, 133, 135); }
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(189, 5%, 50%); }
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 #7a8587
RGB Code | Hex Code | Preview |
---|---|---|
rgb(122, 133, 135, 10%) | #7a85871a | |
rgb(122, 133, 135, 20%) | #7a858733 | |
rgb(122, 133, 135, 40%) | #7a85874C | |
rgb(122, 133, 135, 60%) | #7a858799 | |
rgb(122, 133, 135, 80%) | #7a8587CC | |
rgb(122, 133, 135, 100%) | #7a8587FF |
Saturated and desaturated colors of #7a8587
HSL Code | Preview |
---|---|
hsl(189, 10%, 50%) | |
hsl(189, 20%, 50%) | |
hsl(189, 40%, 50%) | |
hsl(189, 60%, 50%) | |
hsl(189, 80%, 50%) | |
hsl(189, 100%, 50%) |
#7a8587 Color Usage In CSS
body { color: #7a8587; } p { color: rgb(122, 133, 135); } header { border-bottom:1px solid #7a8587; }