#8aa955 Color
Color Codes | |
---|---|
Hex Code | #8aa955 |
RGB Code | rgb(138, 169, 85) |
HSL Code | hsl(82, 33%, 50%) |
#8aa955 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(138, 169, 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(82, 33%, 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 #8aa955
RGB Code | Hex Code | Preview |
---|---|---|
rgb(138, 169, 85, 10%) | #8aa9551a | |
rgb(138, 169, 85, 20%) | #8aa95533 | |
rgb(138, 169, 85, 40%) | #8aa9554C | |
rgb(138, 169, 85, 60%) | #8aa95599 | |
rgb(138, 169, 85, 80%) | #8aa955CC | |
rgb(138, 169, 85, 100%) | #8aa955FF |
Saturated and desaturated colors of #8aa955
HSL Code | Preview |
---|---|
hsl(82, 10%, 50%) | |
hsl(82, 20%, 50%) | |
hsl(82, 40%, 50%) | |
hsl(82, 60%, 50%) | |
hsl(82, 80%, 50%) | |
hsl(82, 100%, 50%) |
#8aa955 Color Usage In CSS
body { color: #8aa955; } p { color: rgb(138, 169, 85); } header { border-bottom:1px solid #8aa955; }