#a2e762 Color
Color Codes | |
---|---|
Hex Code | #a2e762 |
RGB Code | rgb(162, 231, 98) |
HSL Code | hsl(91, 73%, 65%) |
#a2e762 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(162, 231, 98); }
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(91, 73%, 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 #a2e762
RGB Code | Hex Code | Preview |
---|---|---|
rgb(162, 231, 98, 10%) | #a2e7621a | |
rgb(162, 231, 98, 20%) | #a2e76233 | |
rgb(162, 231, 98, 40%) | #a2e7624C | |
rgb(162, 231, 98, 60%) | #a2e76299 | |
rgb(162, 231, 98, 80%) | #a2e762CC | |
rgb(162, 231, 98, 100%) | #a2e762FF |
Saturated and desaturated colors of #a2e762
HSL Code | Preview |
---|---|
hsl(91, 10%, 65%) | |
hsl(91, 20%, 65%) | |
hsl(91, 40%, 65%) | |
hsl(91, 60%, 65%) | |
hsl(91, 80%, 65%) | |
hsl(91, 100%, 65%) |
#a2e762 Color Usage In CSS
body { color: #a2e762; } p { color: rgb(162, 231, 98); } header { border-bottom:1px solid #a2e762; }