#a8e071 Color
Color Codes | |
---|---|
Hex Code | #a8e071 |
RGB Code | rgb(168, 224, 113) |
HSL Code | hsl(90, 64%, 66%) |
#a8e071 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(168, 224, 113); }
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(90, 64%, 66%); }
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 #a8e071
RGB Code | Hex Code | Preview |
---|---|---|
rgb(168, 224, 113, 10%) | #a8e0711a | |
rgb(168, 224, 113, 20%) | #a8e07133 | |
rgb(168, 224, 113, 40%) | #a8e0714C | |
rgb(168, 224, 113, 60%) | #a8e07199 | |
rgb(168, 224, 113, 80%) | #a8e071CC | |
rgb(168, 224, 113, 100%) | #a8e071FF |
Saturated and desaturated colors of #a8e071
HSL Code | Preview |
---|---|
hsl(90, 10%, 66%) | |
hsl(90, 20%, 66%) | |
hsl(90, 40%, 66%) | |
hsl(90, 60%, 66%) | |
hsl(90, 80%, 66%) | |
hsl(90, 100%, 66%) |
#a8e071 Color Usage In CSS
body { color: #a8e071; } p { color: rgb(168, 224, 113); } header { border-bottom:1px solid #a8e071; }