#789990 Color
Color Codes | |
---|---|
Hex Code | #789990 |
RGB Code | rgb(120, 153, 144) |
HSL Code | hsl(164, 14%, 54%) |
#789990 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(120, 153, 144); }
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(164, 14%, 54%); }
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 #789990
RGB Code | Hex Code | Preview |
---|---|---|
rgb(120, 153, 144, 10%) | #7899901a | |
rgb(120, 153, 144, 20%) | #78999033 | |
rgb(120, 153, 144, 40%) | #7899904C | |
rgb(120, 153, 144, 60%) | #78999099 | |
rgb(120, 153, 144, 80%) | #789990CC | |
rgb(120, 153, 144, 100%) | #789990FF |
Saturated and desaturated colors of #789990
HSL Code | Preview |
---|---|
hsl(164, 10%, 54%) | |
hsl(164, 20%, 54%) | |
hsl(164, 40%, 54%) | |
hsl(164, 60%, 54%) | |
hsl(164, 80%, 54%) | |
hsl(164, 100%, 54%) |
#789990 Color Usage In CSS
body { color: #789990; } p { color: rgb(120, 153, 144); } header { border-bottom:1px solid #789990; }