#7f6522 Color
Color Codes | |
---|---|
Hex Code | #7f6522 |
RGB Code | rgb(127, 101, 34) |
HSL Code | hsl(43, 58%, 32%) |
#7f6522 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(127, 101, 34); }
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(43, 58%, 32%); }
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 #7f6522
RGB Code | Hex Code | Preview |
---|---|---|
rgb(127, 101, 34, 10%) | #7f65221a | |
rgb(127, 101, 34, 20%) | #7f652233 | |
rgb(127, 101, 34, 40%) | #7f65224C | |
rgb(127, 101, 34, 60%) | #7f652299 | |
rgb(127, 101, 34, 80%) | #7f6522CC | |
rgb(127, 101, 34, 100%) | #7f6522FF |
Saturated and desaturated colors of #7f6522
HSL Code | Preview |
---|---|
hsl(43, 10%, 32%) | |
hsl(43, 20%, 32%) | |
hsl(43, 40%, 32%) | |
hsl(43, 60%, 32%) | |
hsl(43, 80%, 32%) | |
hsl(43, 100%, 32%) |
#7f6522 Color Usage In CSS
body { color: #7f6522; } p { color: rgb(127, 101, 34); } header { border-bottom:1px solid #7f6522; }