#7b862a Color
Color Codes | |
---|---|
Hex Code | #7b862a |
RGB Code | rgb(123, 134, 42) |
HSL Code | hsl(67, 52%, 35%) |
#7b862a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(123, 134, 42); }
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(67, 52%, 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 #7b862a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(123, 134, 42, 10%) | #7b862a1a | |
rgb(123, 134, 42, 20%) | #7b862a33 | |
rgb(123, 134, 42, 40%) | #7b862a4C | |
rgb(123, 134, 42, 60%) | #7b862a99 | |
rgb(123, 134, 42, 80%) | #7b862aCC | |
rgb(123, 134, 42, 100%) | #7b862aFF |
Saturated and desaturated colors of #7b862a
HSL Code | Preview |
---|---|
hsl(67, 10%, 35%) | |
hsl(67, 20%, 35%) | |
hsl(67, 40%, 35%) | |
hsl(67, 60%, 35%) | |
hsl(67, 80%, 35%) | |
hsl(67, 100%, 35%) |
#7b862a Color Usage In CSS
body { color: #7b862a; } p { color: rgb(123, 134, 42); } header { border-bottom:1px solid #7b862a; }