#979c65 Color
Color Codes | |
---|---|
Hex Code | #979c65 |
RGB Code | rgb(151, 156, 101) |
HSL Code | hsl(65, 22%, 50%) |
#979c65 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(151, 156, 101); }
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(65, 22%, 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 #979c65
RGB Code | Hex Code | Preview |
---|---|---|
rgb(151, 156, 101, 10%) | #979c651a | |
rgb(151, 156, 101, 20%) | #979c6533 | |
rgb(151, 156, 101, 40%) | #979c654C | |
rgb(151, 156, 101, 60%) | #979c6599 | |
rgb(151, 156, 101, 80%) | #979c65CC | |
rgb(151, 156, 101, 100%) | #979c65FF |
Saturated and desaturated colors of #979c65
HSL Code | Preview |
---|---|
hsl(65, 10%, 50%) | |
hsl(65, 20%, 50%) | |
hsl(65, 40%, 50%) | |
hsl(65, 60%, 50%) | |
hsl(65, 80%, 50%) | |
hsl(65, 100%, 50%) |
#979c65 Color Usage In CSS
body { color: #979c65; } p { color: rgb(151, 156, 101); } header { border-bottom:1px solid #979c65; }