#89ab55 Color
Color Codes | |
---|---|
Hex Code | #89ab55 |
RGB Code | rgb(137, 171, 85) |
HSL Code | hsl(84, 34%, 50%) |
#89ab55 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(137, 171, 85); }
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(84, 34%, 50%); }
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 #89ab55
RGB Code | Hex Code | Preview |
---|---|---|
rgb(137, 171, 85, 10%) | #89ab551a | |
rgb(137, 171, 85, 20%) | #89ab5533 | |
rgb(137, 171, 85, 40%) | #89ab554C | |
rgb(137, 171, 85, 60%) | #89ab5599 | |
rgb(137, 171, 85, 80%) | #89ab55CC | |
rgb(137, 171, 85, 100%) | #89ab55FF |
Saturated and desaturated colors of #89ab55
HSL Code | Preview |
---|---|
hsl(84, 10%, 50%) | |
hsl(84, 20%, 50%) | |
hsl(84, 40%, 50%) | |
hsl(84, 60%, 50%) | |
hsl(84, 80%, 50%) | |
hsl(84, 100%, 50%) |
#89ab55 Color Usage In CSS
body { color: #89ab55; } p { color: rgb(137, 171, 85); } header { border-bottom:1px solid #89ab55; }