#7eb681 Color
Color Codes | |
---|---|
Hex Code | #7eb681 |
RGB Code | rgb(126, 182, 129) |
HSL Code | hsl(123, 28%, 60%) |
#7eb681 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(126, 182, 129); }
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(123, 28%, 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 #7eb681
RGB Code | Hex Code | Preview |
---|---|---|
rgb(126, 182, 129, 10%) | #7eb6811a | |
rgb(126, 182, 129, 20%) | #7eb68133 | |
rgb(126, 182, 129, 40%) | #7eb6814C | |
rgb(126, 182, 129, 60%) | #7eb68199 | |
rgb(126, 182, 129, 80%) | #7eb681CC | |
rgb(126, 182, 129, 100%) | #7eb681FF |
Saturated and desaturated colors of #7eb681
HSL Code | Preview |
---|---|
hsl(123, 10%, 60%) | |
hsl(123, 20%, 60%) | |
hsl(123, 40%, 60%) | |
hsl(123, 60%, 60%) | |
hsl(123, 80%, 60%) | |
hsl(123, 100%, 60%) |
#7eb681 Color Usage In CSS
body { color: #7eb681; } p { color: rgb(126, 182, 129); } header { border-bottom:1px solid #7eb681; }