#989b35 Color
Color Codes | |
---|---|
Hex Code | #989b35 |
RGB Code | rgb(152, 155, 53) |
HSL Code | hsl(62, 49%, 41%) |
#989b35 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(152, 155, 53); }
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(62, 49%, 41%); }
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 #989b35
RGB Code | Hex Code | Preview |
---|---|---|
rgb(152, 155, 53, 10%) | #989b351a | |
rgb(152, 155, 53, 20%) | #989b3533 | |
rgb(152, 155, 53, 40%) | #989b354C | |
rgb(152, 155, 53, 60%) | #989b3599 | |
rgb(152, 155, 53, 80%) | #989b35CC | |
rgb(152, 155, 53, 100%) | #989b35FF |
Saturated and desaturated colors of #989b35
HSL Code | Preview |
---|---|
hsl(62, 10%, 41%) | |
hsl(62, 20%, 41%) | |
hsl(62, 40%, 41%) | |
hsl(62, 60%, 41%) | |
hsl(62, 80%, 41%) | |
hsl(62, 100%, 41%) |
#989b35 Color Usage In CSS
body { color: #989b35; } p { color: rgb(152, 155, 53); } header { border-bottom:1px solid #989b35; }