#79872c Color
Color Codes | |
---|---|
Hex Code | #79872c |
RGB Code | rgb(121, 135, 44) |
HSL Code | hsl(69, 51%, 35%) |
#79872c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(121, 135, 44); }
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(69, 51%, 35%); }
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 #79872c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(121, 135, 44, 10%) | #79872c1a | |
rgb(121, 135, 44, 20%) | #79872c33 | |
rgb(121, 135, 44, 40%) | #79872c4C | |
rgb(121, 135, 44, 60%) | #79872c99 | |
rgb(121, 135, 44, 80%) | #79872cCC | |
rgb(121, 135, 44, 100%) | #79872cFF |
Saturated and desaturated colors of #79872c
HSL Code | Preview |
---|---|
hsl(69, 10%, 35%) | |
hsl(69, 20%, 35%) | |
hsl(69, 40%, 35%) | |
hsl(69, 60%, 35%) | |
hsl(69, 80%, 35%) | |
hsl(69, 100%, 35%) |
#79872c Color Usage In CSS
body { color: #79872c; } p { color: rgb(121, 135, 44); } header { border-bottom:1px solid #79872c; }