#a5ff56 Color
Color Codes | |
---|---|
Hex Code | #a5ff56 |
RGB Code | rgb(165, 255, 86) |
HSL Code | hsl(92, 100%, 67%) |
#a5ff56 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(165, 255, 86); }
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(92, 100%, 67%); }
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 #a5ff56
RGB Code | Hex Code | Preview |
---|---|---|
rgb(165, 255, 86, 10%) | #a5ff561a | |
rgb(165, 255, 86, 20%) | #a5ff5633 | |
rgb(165, 255, 86, 40%) | #a5ff564C | |
rgb(165, 255, 86, 60%) | #a5ff5699 | |
rgb(165, 255, 86, 80%) | #a5ff56CC | |
rgb(165, 255, 86, 100%) | #a5ff56FF |
Saturated and desaturated colors of #a5ff56
HSL Code | Preview |
---|---|
hsl(92, 10%, 67%) | |
hsl(92, 20%, 67%) | |
hsl(92, 40%, 67%) | |
hsl(92, 60%, 67%) | |
hsl(92, 80%, 67%) | |
hsl(92, 100%, 67%) |
#a5ff56 Color Usage In CSS
body { color: #a5ff56; } p { color: rgb(165, 255, 86); } header { border-bottom:1px solid #a5ff56; }