#7f662b Color
Color Codes | |
---|---|
Hex Code | #7f662b |
RGB Code | rgb(127, 102, 43) |
HSL Code | hsl(42, 49%, 33%) |
#7f662b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(127, 102, 43); }
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(42, 49%, 33%); }
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 #7f662b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(127, 102, 43, 10%) | #7f662b1a | |
rgb(127, 102, 43, 20%) | #7f662b33 | |
rgb(127, 102, 43, 40%) | #7f662b4C | |
rgb(127, 102, 43, 60%) | #7f662b99 | |
rgb(127, 102, 43, 80%) | #7f662bCC | |
rgb(127, 102, 43, 100%) | #7f662bFF |
Saturated and desaturated colors of #7f662b
HSL Code | Preview |
---|---|
hsl(42, 10%, 33%) | |
hsl(42, 20%, 33%) | |
hsl(42, 40%, 33%) | |
hsl(42, 60%, 33%) | |
hsl(42, 80%, 33%) | |
hsl(42, 100%, 33%) |
#7f662b Color Usage In CSS
body { color: #7f662b; } p { color: rgb(127, 102, 43); } header { border-bottom:1px solid #7f662b; }