#a1f337 Color
Color Codes | |
---|---|
Hex Code | #a1f337 |
RGB Code | rgb(161, 243, 55) |
HSL Code | hsl(86, 89%, 58%) |
#a1f337 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(161, 243, 55); }
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(86, 89%, 58%); }
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 #a1f337
RGB Code | Hex Code | Preview |
---|---|---|
rgb(161, 243, 55, 10%) | #a1f3371a | |
rgb(161, 243, 55, 20%) | #a1f33733 | |
rgb(161, 243, 55, 40%) | #a1f3374C | |
rgb(161, 243, 55, 60%) | #a1f33799 | |
rgb(161, 243, 55, 80%) | #a1f337CC | |
rgb(161, 243, 55, 100%) | #a1f337FF |
Saturated and desaturated colors of #a1f337
HSL Code | Preview |
---|---|
hsl(86, 10%, 58%) | |
hsl(86, 20%, 58%) | |
hsl(86, 40%, 58%) | |
hsl(86, 60%, 58%) | |
hsl(86, 80%, 58%) | |
hsl(86, 100%, 58%) |
#a1f337 Color Usage In CSS
body { color: #a1f337; } p { color: rgb(161, 243, 55); } header { border-bottom:1px solid #a1f337; }