#70a978 Color
Color Codes | |
---|---|
Hex Code | #70a978 |
RGB Code | rgb(112, 169, 120) |
HSL Code | hsl(128, 25%, 55%) |
#70a978 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(112, 169, 120); }
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(128, 25%, 55%); }
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 #70a978
RGB Code | Hex Code | Preview |
---|---|---|
rgb(112, 169, 120, 10%) | #70a9781a | |
rgb(112, 169, 120, 20%) | #70a97833 | |
rgb(112, 169, 120, 40%) | #70a9784C | |
rgb(112, 169, 120, 60%) | #70a97899 | |
rgb(112, 169, 120, 80%) | #70a978CC | |
rgb(112, 169, 120, 100%) | #70a978FF |
Saturated and desaturated colors of #70a978
HSL Code | Preview |
---|---|
hsl(128, 10%, 55%) | |
hsl(128, 20%, 55%) | |
hsl(128, 40%, 55%) | |
hsl(128, 60%, 55%) | |
hsl(128, 80%, 55%) | |
hsl(128, 100%, 55%) |
#70a978 Color Usage In CSS
body { color: #70a978; } p { color: rgb(112, 169, 120); } header { border-bottom:1px solid #70a978; }