#a8f207 Color
Color Codes | |
---|---|
Hex Code | #a8f207 |
RGB Code | rgb(168, 242, 07) |
HSL Code | hsl(79, 94%, 49%) |
#a8f207 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(168, 242, 07); }
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(79, 94%, 49%); }
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 #a8f207
RGB Code | Hex Code | Preview |
---|---|---|
rgb(168, 242, 07, 10%) | #a8f2071a | |
rgb(168, 242, 07, 20%) | #a8f20733 | |
rgb(168, 242, 07, 40%) | #a8f2074C | |
rgb(168, 242, 07, 60%) | #a8f20799 | |
rgb(168, 242, 07, 80%) | #a8f207CC | |
rgb(168, 242, 07, 100%) | #a8f207FF |
Saturated and desaturated colors of #a8f207
HSL Code | Preview |
---|---|
hsl(79, 10%, 49%) | |
hsl(79, 20%, 49%) | |
hsl(79, 40%, 49%) | |
hsl(79, 60%, 49%) | |
hsl(79, 80%, 49%) | |
hsl(79, 100%, 49%) |
#a8f207 Color Usage In CSS
body { color: #a8f207; } p { color: rgb(168, 242, 07); } header { border-bottom:1px solid #a8f207; }