#7f5521 Color
Color Codes | |
---|---|
Hex Code | #7f5521 |
RGB Code | rgb(127, 85, 33) |
HSL Code | hsl(33, 59%, 31%) |
#7f5521 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(127, 85, 33); }
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(33, 59%, 31%); }
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 #7f5521
RGB Code | Hex Code | Preview |
---|---|---|
rgb(127, 85, 33, 10%) | #7f55211a | |
rgb(127, 85, 33, 20%) | #7f552133 | |
rgb(127, 85, 33, 40%) | #7f55214C | |
rgb(127, 85, 33, 60%) | #7f552199 | |
rgb(127, 85, 33, 80%) | #7f5521CC | |
rgb(127, 85, 33, 100%) | #7f5521FF |
Saturated and desaturated colors of #7f5521
HSL Code | Preview |
---|---|
hsl(33, 10%, 31%) | |
hsl(33, 20%, 31%) | |
hsl(33, 40%, 31%) | |
hsl(33, 60%, 31%) | |
hsl(33, 80%, 31%) | |
hsl(33, 100%, 31%) |
#7f5521 Color Usage In CSS
body { color: #7f5521; } p { color: rgb(127, 85, 33); } header { border-bottom:1px solid #7f5521; }