#5ab25a Color
Color Codes | |
---|---|
Hex Code | #5ab25a |
RGB Code | rgb(90, 178, 90) |
HSL Code | hsl(120, 36%, 53%) |
#5ab25a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(90, 178, 90); }
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(120, 36%, 53%); }
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 #5ab25a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(90, 178, 90, 10%) | #5ab25a1a | |
rgb(90, 178, 90, 20%) | #5ab25a33 | |
rgb(90, 178, 90, 40%) | #5ab25a4C | |
rgb(90, 178, 90, 60%) | #5ab25a99 | |
rgb(90, 178, 90, 80%) | #5ab25aCC | |
rgb(90, 178, 90, 100%) | #5ab25aFF |
Saturated and desaturated colors of #5ab25a
HSL Code | Preview |
---|---|
hsl(120, 10%, 53%) | |
hsl(120, 20%, 53%) | |
hsl(120, 40%, 53%) | |
hsl(120, 60%, 53%) | |
hsl(120, 80%, 53%) | |
hsl(120, 100%, 53%) |
#5ab25a Color Usage In CSS
body { color: #5ab25a; } p { color: rgb(90, 178, 90); } header { border-bottom:1px solid #5ab25a; }