#988b62 Color
Color Codes | |
---|---|
Hex Code | #988b62 |
RGB Code | rgb(152, 139, 98) |
HSL Code | hsl(46, 22%, 49%) |
#988b62 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(152, 139, 98); }
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(46, 22%, 49%); }
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 #988b62
RGB Code | Hex Code | Preview |
---|---|---|
rgb(152, 139, 98, 10%) | #988b621a | |
rgb(152, 139, 98, 20%) | #988b6233 | |
rgb(152, 139, 98, 40%) | #988b624C | |
rgb(152, 139, 98, 60%) | #988b6299 | |
rgb(152, 139, 98, 80%) | #988b62CC | |
rgb(152, 139, 98, 100%) | #988b62FF |
Saturated and desaturated colors of #988b62
HSL Code | Preview |
---|---|
hsl(46, 10%, 49%) | |
hsl(46, 20%, 49%) | |
hsl(46, 40%, 49%) | |
hsl(46, 60%, 49%) | |
hsl(46, 80%, 49%) | |
hsl(46, 100%, 49%) |
#988b62 Color Usage In CSS
body { color: #988b62; } p { color: rgb(152, 139, 98); } header { border-bottom:1px solid #988b62; }