#a5e70b Color
Color Codes | |
---|---|
Hex Code | #a5e70b |
RGB Code | rgb(165, 231, 11) |
HSL Code | hsl(78, 91%, 47%) |
#a5e70b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(165, 231, 11); }
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, 91%, 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 #a5e70b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(165, 231, 11, 10%) | #a5e70b1a | |
rgb(165, 231, 11, 20%) | #a5e70b33 | |
rgb(165, 231, 11, 40%) | #a5e70b4C | |
rgb(165, 231, 11, 60%) | #a5e70b99 | |
rgb(165, 231, 11, 80%) | #a5e70bCC | |
rgb(165, 231, 11, 100%) | #a5e70bFF |
Saturated and desaturated colors of #a5e70b
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%) |
#a5e70b Color Usage In CSS
body { color: #a5e70b; } p { color: rgb(165, 231, 11); } header { border-bottom:1px solid #a5e70b; }