#6b794c Color
Color Codes | |
---|---|
Hex Code | #6b794c |
RGB Code | rgb(107, 121, 76) |
HSL Code | hsl(79, 23%, 39%) |
#6b794c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(107, 121, 76); }
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(79, 23%, 39%); }
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 #6b794c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(107, 121, 76, 10%) | #6b794c1a | |
rgb(107, 121, 76, 20%) | #6b794c33 | |
rgb(107, 121, 76, 40%) | #6b794c4C | |
rgb(107, 121, 76, 60%) | #6b794c99 | |
rgb(107, 121, 76, 80%) | #6b794cCC | |
rgb(107, 121, 76, 100%) | #6b794cFF |
Saturated and desaturated colors of #6b794c
HSL Code | Preview |
---|---|
hsl(79, 10%, 39%) | |
hsl(79, 20%, 39%) | |
hsl(79, 40%, 39%) | |
hsl(79, 60%, 39%) | |
hsl(79, 80%, 39%) | |
hsl(79, 100%, 39%) |
#6b794c Color Usage In CSS
body { color: #6b794c; } p { color: rgb(107, 121, 76); } header { border-bottom:1px solid #6b794c; }