#a5d36a Color
Color Codes | |
---|---|
Hex Code | #a5d36a |
RGB Code | rgb(165, 211, 106) |
HSL Code | hsl(86, 54%, 62%) |
#a5d36a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(165, 211, 106); }
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, 54%, 62%); }
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 #a5d36a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(165, 211, 106, 10%) | #a5d36a1a | |
rgb(165, 211, 106, 20%) | #a5d36a33 | |
rgb(165, 211, 106, 40%) | #a5d36a4C | |
rgb(165, 211, 106, 60%) | #a5d36a99 | |
rgb(165, 211, 106, 80%) | #a5d36aCC | |
rgb(165, 211, 106, 100%) | #a5d36aFF |
Saturated and desaturated colors of #a5d36a
HSL Code | Preview |
---|---|
hsl(86, 10%, 62%) | |
hsl(86, 20%, 62%) | |
hsl(86, 40%, 62%) | |
hsl(86, 60%, 62%) | |
hsl(86, 80%, 62%) | |
hsl(86, 100%, 62%) |
#a5d36a Color Usage In CSS
body { color: #a5d36a; } p { color: rgb(165, 211, 106); } header { border-bottom:1px solid #a5d36a; }