#987748 Color
Color Codes | |
---|---|
Hex Code | #987748 |
RGB Code | rgb(152, 119, 72) |
HSL Code | hsl(35, 36%, 44%) |
#987748 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(152, 119, 72); }
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(35, 36%, 44%); }
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 #987748
RGB Code | Hex Code | Preview |
---|---|---|
rgb(152, 119, 72, 10%) | #9877481a | |
rgb(152, 119, 72, 20%) | #98774833 | |
rgb(152, 119, 72, 40%) | #9877484C | |
rgb(152, 119, 72, 60%) | #98774899 | |
rgb(152, 119, 72, 80%) | #987748CC | |
rgb(152, 119, 72, 100%) | #987748FF |
Saturated and desaturated colors of #987748
HSL Code | Preview |
---|---|
hsl(35, 10%, 44%) | |
hsl(35, 20%, 44%) | |
hsl(35, 40%, 44%) | |
hsl(35, 60%, 44%) | |
hsl(35, 80%, 44%) | |
hsl(35, 100%, 44%) |
#987748 Color Usage In CSS
body { color: #987748; } p { color: rgb(152, 119, 72); } header { border-bottom:1px solid #987748; }