#7c4728 Color
Color Codes | |
---|---|
Hex Code | #7c4728 |
RGB Code | rgb(124, 71, 40) |
HSL Code | hsl(22, 51%, 32%) |
#7c4728 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(124, 71, 40); }
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(22, 51%, 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 #7c4728
RGB Code | Hex Code | Preview |
---|---|---|
rgb(124, 71, 40, 10%) | #7c47281a | |
rgb(124, 71, 40, 20%) | #7c472833 | |
rgb(124, 71, 40, 40%) | #7c47284C | |
rgb(124, 71, 40, 60%) | #7c472899 | |
rgb(124, 71, 40, 80%) | #7c4728CC | |
rgb(124, 71, 40, 100%) | #7c4728FF |
Saturated and desaturated colors of #7c4728
HSL Code | Preview |
---|---|
hsl(22, 10%, 32%) | |
hsl(22, 20%, 32%) | |
hsl(22, 40%, 32%) | |
hsl(22, 60%, 32%) | |
hsl(22, 80%, 32%) | |
hsl(22, 100%, 32%) |
#7c4728 Color Usage In CSS
body { color: #7c4728; } p { color: rgb(124, 71, 40); } header { border-bottom:1px solid #7c4728; }