#8aee7f Color
Color Codes | |
---|---|
Hex Code | #8aee7f |
RGB Code | rgb(138, 238, 127) |
HSL Code | hsl(114, 77%, 72%) |
#8aee7f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(138, 238, 127); }
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(114, 77%, 72%); }
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 #8aee7f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(138, 238, 127, 10%) | #8aee7f1a | |
rgb(138, 238, 127, 20%) | #8aee7f33 | |
rgb(138, 238, 127, 40%) | #8aee7f4C | |
rgb(138, 238, 127, 60%) | #8aee7f99 | |
rgb(138, 238, 127, 80%) | #8aee7fCC | |
rgb(138, 238, 127, 100%) | #8aee7fFF |
Saturated and desaturated colors of #8aee7f
HSL Code | Preview |
---|---|
hsl(114, 10%, 72%) | |
hsl(114, 20%, 72%) | |
hsl(114, 40%, 72%) | |
hsl(114, 60%, 72%) | |
hsl(114, 80%, 72%) | |
hsl(114, 100%, 72%) |
#8aee7f Color Usage In CSS
body { color: #8aee7f; } p { color: rgb(138, 238, 127); } header { border-bottom:1px solid #8aee7f; }