#79896b Color
Color Codes | |
---|---|
Hex Code | #79896b |
RGB Code | rgb(121, 137, 107) |
HSL Code | hsl(92, 12%, 48%) |
#79896b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(121, 137, 107); }
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(92, 12%, 48%); }
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 #79896b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(121, 137, 107, 10%) | #79896b1a | |
rgb(121, 137, 107, 20%) | #79896b33 | |
rgb(121, 137, 107, 40%) | #79896b4C | |
rgb(121, 137, 107, 60%) | #79896b99 | |
rgb(121, 137, 107, 80%) | #79896bCC | |
rgb(121, 137, 107, 100%) | #79896bFF |
Saturated and desaturated colors of #79896b
HSL Code | Preview |
---|---|
hsl(92, 10%, 48%) | |
hsl(92, 20%, 48%) | |
hsl(92, 40%, 48%) | |
hsl(92, 60%, 48%) | |
hsl(92, 80%, 48%) | |
hsl(92, 100%, 48%) |
#79896b Color Usage In CSS
body { color: #79896b; } p { color: rgb(121, 137, 107); } header { border-bottom:1px solid #79896b; }