#a0d40e Color
Color Codes | |
---|---|
Hex Code | #a0d40e |
RGB Code | rgb(160, 212, 14) |
HSL Code | hsl(76, 88%, 44%) |
#a0d40e Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(160, 212, 14); }
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(76, 88%, 44%); }
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 #a0d40e
RGB Code | Hex Code | Preview |
---|---|---|
rgb(160, 212, 14, 10%) | #a0d40e1a | |
rgb(160, 212, 14, 20%) | #a0d40e33 | |
rgb(160, 212, 14, 40%) | #a0d40e4C | |
rgb(160, 212, 14, 60%) | #a0d40e99 | |
rgb(160, 212, 14, 80%) | #a0d40eCC | |
rgb(160, 212, 14, 100%) | #a0d40eFF |
Saturated and desaturated colors of #a0d40e
HSL Code | Preview |
---|---|
hsl(76, 10%, 44%) | |
hsl(76, 20%, 44%) | |
hsl(76, 40%, 44%) | |
hsl(76, 60%, 44%) | |
hsl(76, 80%, 44%) | |
hsl(76, 100%, 44%) |
#a0d40e Color Usage In CSS
body { color: #a0d40e; } p { color: rgb(160, 212, 14); } header { border-bottom:1px solid #a0d40e; }