#7d5b18 Color
Color Codes | |
---|---|
Hex Code | #7d5b18 |
RGB Code | rgb(125, 91, 24) |
HSL Code | hsl(40, 68%, 29%) |
#7d5b18 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(125, 91, 24); }
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(40, 68%, 29%); }
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 #7d5b18
RGB Code | Hex Code | Preview |
---|---|---|
rgb(125, 91, 24, 10%) | #7d5b181a | |
rgb(125, 91, 24, 20%) | #7d5b1833 | |
rgb(125, 91, 24, 40%) | #7d5b184C | |
rgb(125, 91, 24, 60%) | #7d5b1899 | |
rgb(125, 91, 24, 80%) | #7d5b18CC | |
rgb(125, 91, 24, 100%) | #7d5b18FF |
Saturated and desaturated colors of #7d5b18
HSL Code | Preview |
---|---|
hsl(40, 10%, 29%) | |
hsl(40, 20%, 29%) | |
hsl(40, 40%, 29%) | |
hsl(40, 60%, 29%) | |
hsl(40, 80%, 29%) | |
hsl(40, 100%, 29%) |
#7d5b18 Color Usage In CSS
body { color: #7d5b18; } p { color: rgb(125, 91, 24); } header { border-bottom:1px solid #7d5b18; }