#98a461 Color
Color Codes | |
---|---|
Hex Code | #98a461 |
RGB Code | rgb(152, 164, 97) |
HSL Code | hsl(71, 27%, 51%) |
#98a461 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(152, 164, 97); }
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(71, 27%, 51%); }
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 #98a461
RGB Code | Hex Code | Preview |
---|---|---|
rgb(152, 164, 97, 10%) | #98a4611a | |
rgb(152, 164, 97, 20%) | #98a46133 | |
rgb(152, 164, 97, 40%) | #98a4614C | |
rgb(152, 164, 97, 60%) | #98a46199 | |
rgb(152, 164, 97, 80%) | #98a461CC | |
rgb(152, 164, 97, 100%) | #98a461FF |
Saturated and desaturated colors of #98a461
HSL Code | Preview |
---|---|
hsl(71, 10%, 51%) | |
hsl(71, 20%, 51%) | |
hsl(71, 40%, 51%) | |
hsl(71, 60%, 51%) | |
hsl(71, 80%, 51%) | |
hsl(71, 100%, 51%) |
#98a461 Color Usage In CSS
body { color: #98a461; } p { color: rgb(152, 164, 97); } header { border-bottom:1px solid #98a461; }