#a7ed02 Color
Color Codes | |
---|---|
Hex Code | #a7ed02 |
RGB Code | rgb(167, 237, 02) |
HSL Code | hsl(78, 98%, 47%) |
#a7ed02 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(167, 237, 02); }
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(78, 98%, 47%); }
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 #a7ed02
RGB Code | Hex Code | Preview |
---|---|---|
rgb(167, 237, 02, 10%) | #a7ed021a | |
rgb(167, 237, 02, 20%) | #a7ed0233 | |
rgb(167, 237, 02, 40%) | #a7ed024C | |
rgb(167, 237, 02, 60%) | #a7ed0299 | |
rgb(167, 237, 02, 80%) | #a7ed02CC | |
rgb(167, 237, 02, 100%) | #a7ed02FF |
Saturated and desaturated colors of #a7ed02
HSL Code | Preview |
---|---|
hsl(78, 10%, 47%) | |
hsl(78, 20%, 47%) | |
hsl(78, 40%, 47%) | |
hsl(78, 60%, 47%) | |
hsl(78, 80%, 47%) | |
hsl(78, 100%, 47%) |
#a7ed02 Color Usage In CSS
body { color: #a7ed02; } p { color: rgb(167, 237, 02); } header { border-bottom:1px solid #a7ed02; }