#7ffc8e Color
Color Codes | |
---|---|
Hex Code | #7ffc8e |
RGB Code | rgb(127, 252, 142) |
HSL Code | hsl(127, 95%, 74%) |
#7ffc8e Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(127, 252, 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(127, 95%, 74%); }
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 #7ffc8e
RGB Code | Hex Code | Preview |
---|---|---|
rgb(127, 252, 142, 10%) | #7ffc8e1a | |
rgb(127, 252, 142, 20%) | #7ffc8e33 | |
rgb(127, 252, 142, 40%) | #7ffc8e4C | |
rgb(127, 252, 142, 60%) | #7ffc8e99 | |
rgb(127, 252, 142, 80%) | #7ffc8eCC | |
rgb(127, 252, 142, 100%) | #7ffc8eFF |
Saturated and desaturated colors of #7ffc8e
HSL Code | Preview |
---|---|
hsl(127, 10%, 74%) | |
hsl(127, 20%, 74%) | |
hsl(127, 40%, 74%) | |
hsl(127, 60%, 74%) | |
hsl(127, 80%, 74%) | |
hsl(127, 100%, 74%) |
#7ffc8e Color Usage In CSS
body { color: #7ffc8e; } p { color: rgb(127, 252, 142); } header { border-bottom:1px solid #7ffc8e; }