#7ab040 Color
Color Codes | |
---|---|
Hex Code | #7ab040 |
RGB Code | rgb(122, 176, 64) |
HSL Code | hsl(89, 47%, 47%) |
#7ab040 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(122, 176, 64); }
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(89, 47%, 47%); }
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 #7ab040
RGB Code | Hex Code | Preview |
---|---|---|
rgb(122, 176, 64, 10%) | #7ab0401a | |
rgb(122, 176, 64, 20%) | #7ab04033 | |
rgb(122, 176, 64, 40%) | #7ab0404C | |
rgb(122, 176, 64, 60%) | #7ab04099 | |
rgb(122, 176, 64, 80%) | #7ab040CC | |
rgb(122, 176, 64, 100%) | #7ab040FF |
Saturated and desaturated colors of #7ab040
HSL Code | Preview |
---|---|
hsl(89, 10%, 47%) | |
hsl(89, 20%, 47%) | |
hsl(89, 40%, 47%) | |
hsl(89, 60%, 47%) | |
hsl(89, 80%, 47%) | |
hsl(89, 100%, 47%) |
#7ab040 Color Usage In CSS
body { color: #7ab040; } p { color: rgb(122, 176, 64); } header { border-bottom:1px solid #7ab040; }