#99a25a Color
Color Codes | |
---|---|
Hex Code | #99a25a |
RGB Code | rgb(153, 162, 90) |
HSL Code | hsl(68, 29%, 49%) |
#99a25a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(153, 162, 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(68, 29%, 49%); }
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 #99a25a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(153, 162, 90, 10%) | #99a25a1a | |
rgb(153, 162, 90, 20%) | #99a25a33 | |
rgb(153, 162, 90, 40%) | #99a25a4C | |
rgb(153, 162, 90, 60%) | #99a25a99 | |
rgb(153, 162, 90, 80%) | #99a25aCC | |
rgb(153, 162, 90, 100%) | #99a25aFF |
Saturated and desaturated colors of #99a25a
HSL Code | Preview |
---|---|
hsl(68, 10%, 49%) | |
hsl(68, 20%, 49%) | |
hsl(68, 40%, 49%) | |
hsl(68, 60%, 49%) | |
hsl(68, 80%, 49%) | |
hsl(68, 100%, 49%) |
#99a25a Color Usage In CSS
body { color: #99a25a; } p { color: rgb(153, 162, 90); } header { border-bottom:1px solid #99a25a; }