#a5e94b Color
Color Codes | |
---|---|
Hex Code | #a5e94b |
RGB Code | rgb(165, 233, 75) |
HSL Code | hsl(86, 78%, 60%) |
#a5e94b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(165, 233, 75); }
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, 78%, 60%); }
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 #a5e94b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(165, 233, 75, 10%) | #a5e94b1a | |
rgb(165, 233, 75, 20%) | #a5e94b33 | |
rgb(165, 233, 75, 40%) | #a5e94b4C | |
rgb(165, 233, 75, 60%) | #a5e94b99 | |
rgb(165, 233, 75, 80%) | #a5e94bCC | |
rgb(165, 233, 75, 100%) | #a5e94bFF |
Saturated and desaturated colors of #a5e94b
HSL Code | Preview |
---|---|
hsl(86, 10%, 60%) | |
hsl(86, 20%, 60%) | |
hsl(86, 40%, 60%) | |
hsl(86, 60%, 60%) | |
hsl(86, 80%, 60%) | |
hsl(86, 100%, 60%) |
#a5e94b Color Usage In CSS
body { color: #a5e94b; } p { color: rgb(165, 233, 75); } header { border-bottom:1px solid #a5e94b; }