#798b70 Color
Color Codes | |
---|---|
Hex Code | #798b70 |
RGB Code | rgb(121, 139, 112) |
HSL Code | hsl(100, 11%, 49%) |
#798b70 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(121, 139, 112); }
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(100, 11%, 49%); }
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 #798b70
RGB Code | Hex Code | Preview |
---|---|---|
rgb(121, 139, 112, 10%) | #798b701a | |
rgb(121, 139, 112, 20%) | #798b7033 | |
rgb(121, 139, 112, 40%) | #798b704C | |
rgb(121, 139, 112, 60%) | #798b7099 | |
rgb(121, 139, 112, 80%) | #798b70CC | |
rgb(121, 139, 112, 100%) | #798b70FF |
Saturated and desaturated colors of #798b70
HSL Code | Preview |
---|---|
hsl(100, 10%, 49%) | |
hsl(100, 20%, 49%) | |
hsl(100, 40%, 49%) | |
hsl(100, 60%, 49%) | |
hsl(100, 80%, 49%) | |
hsl(100, 100%, 49%) |
#798b70 Color Usage In CSS
body { color: #798b70; } p { color: rgb(121, 139, 112); } header { border-bottom:1px solid #798b70; }