#abd22a Color
Color Codes | |
---|---|
Hex Code | #abd22a |
RGB Code | rgb(171, 210, 42) |
HSL Code | hsl(74, 67%, 49%) |
#abd22a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(171, 210, 42); }
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(74, 67%, 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 #abd22a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(171, 210, 42, 10%) | #abd22a1a | |
rgb(171, 210, 42, 20%) | #abd22a33 | |
rgb(171, 210, 42, 40%) | #abd22a4C | |
rgb(171, 210, 42, 60%) | #abd22a99 | |
rgb(171, 210, 42, 80%) | #abd22aCC | |
rgb(171, 210, 42, 100%) | #abd22aFF |
Saturated and desaturated colors of #abd22a
HSL Code | Preview |
---|---|
hsl(74, 10%, 49%) | |
hsl(74, 20%, 49%) | |
hsl(74, 40%, 49%) | |
hsl(74, 60%, 49%) | |
hsl(74, 80%, 49%) | |
hsl(74, 100%, 49%) |
#abd22a Color Usage In CSS
body { color: #abd22a; } p { color: rgb(171, 210, 42); } header { border-bottom:1px solid #abd22a; }