#80ba57 Color
Color Codes | |
---|---|
Hex Code | #80ba57 |
RGB Code | rgb(128, 186, 87) |
HSL Code | hsl(95, 42%, 54%) |
#80ba57 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(128, 186, 87); }
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(95, 42%, 54%); }
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 #80ba57
RGB Code | Hex Code | Preview |
---|---|---|
rgb(128, 186, 87, 10%) | #80ba571a | |
rgb(128, 186, 87, 20%) | #80ba5733 | |
rgb(128, 186, 87, 40%) | #80ba574C | |
rgb(128, 186, 87, 60%) | #80ba5799 | |
rgb(128, 186, 87, 80%) | #80ba57CC | |
rgb(128, 186, 87, 100%) | #80ba57FF |
Saturated and desaturated colors of #80ba57
HSL Code | Preview |
---|---|
hsl(95, 10%, 54%) | |
hsl(95, 20%, 54%) | |
hsl(95, 40%, 54%) | |
hsl(95, 60%, 54%) | |
hsl(95, 80%, 54%) | |
hsl(95, 100%, 54%) |
#80ba57 Color Usage In CSS
body { color: #80ba57; } p { color: rgb(128, 186, 87); } header { border-bottom:1px solid #80ba57; }