#7fca87 Color
Color Codes | |
---|---|
Hex Code | #7fca87 |
RGB Code | rgb(127, 202, 135) |
HSL Code | hsl(126, 41%, 65%) |
#7fca87 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(127, 202, 135); }
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(126, 41%, 65%); }
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 #7fca87
RGB Code | Hex Code | Preview |
---|---|---|
rgb(127, 202, 135, 10%) | #7fca871a | |
rgb(127, 202, 135, 20%) | #7fca8733 | |
rgb(127, 202, 135, 40%) | #7fca874C | |
rgb(127, 202, 135, 60%) | #7fca8799 | |
rgb(127, 202, 135, 80%) | #7fca87CC | |
rgb(127, 202, 135, 100%) | #7fca87FF |
Saturated and desaturated colors of #7fca87
HSL Code | Preview |
---|---|
hsl(126, 10%, 65%) | |
hsl(126, 20%, 65%) | |
hsl(126, 40%, 65%) | |
hsl(126, 60%, 65%) | |
hsl(126, 80%, 65%) | |
hsl(126, 100%, 65%) |
#7fca87 Color Usage In CSS
body { color: #7fca87; } p { color: rgb(127, 202, 135); } header { border-bottom:1px solid #7fca87; }