#70cd1c Color
Color Codes | |
---|---|
Hex Code | #70cd1c |
RGB Code | rgb(112, 205, 28) |
HSL Code | hsl(92, 76%, 46%) |
#70cd1c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(112, 205, 28); }
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, 76%, 46%); }
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 #70cd1c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(112, 205, 28, 10%) | #70cd1c1a | |
rgb(112, 205, 28, 20%) | #70cd1c33 | |
rgb(112, 205, 28, 40%) | #70cd1c4C | |
rgb(112, 205, 28, 60%) | #70cd1c99 | |
rgb(112, 205, 28, 80%) | #70cd1cCC | |
rgb(112, 205, 28, 100%) | #70cd1cFF |
Saturated and desaturated colors of #70cd1c
HSL Code | Preview |
---|---|
hsl(92, 10%, 46%) | |
hsl(92, 20%, 46%) | |
hsl(92, 40%, 46%) | |
hsl(92, 60%, 46%) | |
hsl(92, 80%, 46%) | |
hsl(92, 100%, 46%) |
#70cd1c Color Usage In CSS
body { color: #70cd1c; } p { color: rgb(112, 205, 28); } header { border-bottom:1px solid #70cd1c; }