#a8d91e Color
Color Codes | |
---|---|
Hex Code | #a8d91e |
RGB Code | rgb(168, 217, 30) |
HSL Code | hsl(76, 76%, 48%) |
#a8d91e Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(168, 217, 30); }
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, 76%, 48%); }
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 #a8d91e
RGB Code | Hex Code | Preview |
---|---|---|
rgb(168, 217, 30, 10%) | #a8d91e1a | |
rgb(168, 217, 30, 20%) | #a8d91e33 | |
rgb(168, 217, 30, 40%) | #a8d91e4C | |
rgb(168, 217, 30, 60%) | #a8d91e99 | |
rgb(168, 217, 30, 80%) | #a8d91eCC | |
rgb(168, 217, 30, 100%) | #a8d91eFF |
Saturated and desaturated colors of #a8d91e
HSL Code | Preview |
---|---|
hsl(76, 10%, 48%) | |
hsl(76, 20%, 48%) | |
hsl(76, 40%, 48%) | |
hsl(76, 60%, 48%) | |
hsl(76, 80%, 48%) | |
hsl(76, 100%, 48%) |
#a8d91e Color Usage In CSS
body { color: #a8d91e; } p { color: rgb(168, 217, 30); } header { border-bottom:1px solid #a8d91e; }