#70c28e Color
Color Codes | |
---|---|
Hex Code | #70c28e |
RGB Code | rgb(112, 194, 142) |
HSL Code | hsl(142, 40%, 60%) |
#70c28e Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(112, 194, 142); }
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(142, 40%, 60%); }
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 #70c28e
RGB Code | Hex Code | Preview |
---|---|---|
rgb(112, 194, 142, 10%) | #70c28e1a | |
rgb(112, 194, 142, 20%) | #70c28e33 | |
rgb(112, 194, 142, 40%) | #70c28e4C | |
rgb(112, 194, 142, 60%) | #70c28e99 | |
rgb(112, 194, 142, 80%) | #70c28eCC | |
rgb(112, 194, 142, 100%) | #70c28eFF |
Saturated and desaturated colors of #70c28e
HSL Code | Preview |
---|---|
hsl(142, 10%, 60%) | |
hsl(142, 20%, 60%) | |
hsl(142, 40%, 60%) | |
hsl(142, 60%, 60%) | |
hsl(142, 80%, 60%) | |
hsl(142, 100%, 60%) |
#70c28e Color Usage In CSS
body { color: #70c28e; } p { color: rgb(112, 194, 142); } header { border-bottom:1px solid #70c28e; }