HEX: #987C4E
RGB: (152,124,78)
#987C4E contains mainly red and green colors. Web safe color of #987C4E is #996666 (or #966).
#987C4E color RGB value is (152,124,78).
RGB: (152,124,78) (60%,49%,31%)
R 152 of 255 = 60%
G 124 of 255 = 49%
B 78 of 255 = 31%
R + G + B ~ 47%. #987C4E is middle color (not dark and not light).
R + G + B =
152 + 124 + 78 = 354 (100%)
R 152 of 354 ~ 42.94%
G 124 of 354 ~ 35.03%
B 78 of 354 ~ 22.03%
#987C4E color CMYK value is (0,18,49,40).
CMYK: (0,18,49,40) C0M18Y49K40 (0%,18%,49%,40%) (0.00/0.18/0.49/0.40)
98 | 7C | 4E | |
---|---|---|---|
RGB | 152 | 124 | 78 |
HSL | 37° | 32.17% | 45.10% |
HSB/HSV | 37° | 48.68% | 59.61% |
CMYK | 0.00% | 18.42% | 48.68% |
40.39% |
HEX | 98 | 7C | 4E |
Decimal | 152 | 124 | 78 |
Binary | 10011000 | 1111100 | 1001110 |
Octal | 230 | 174 | 116 |
Examples of css and html codes for elements with #987C4E color. Also use rgb(152,124,78) instead hex code.
.myTextColor { color: #987C4E; }
<p style="color:#987C4E">This sample text font color is #987C4E.</p>
This text font color is #987C4E.
.myBgColor { background-color: #987C4E; }
<div style="background-color:#987C4E">Inner text</div>
This div background color is #987C4E.
.myBorderColor { border: 1px solid #987C4E; }
<div style="border:3px solid #987C4E">Div</div>
This div border color is #987C4E.
.myOpacity80 { color: #987C4E; opacity: 0.8; }
<p style="color:#987C4E;opacity:0.8;">80%</p>
Text with #987C4E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #987C4E;}
<p style="text-shadow: 3px 3px 1px #987C4E">Text here.</p>
This text has shadow with #987C4E color.
.textShadow {text-shadow: 3px 3px 1px #987C4E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #987C4E, 5px 5px 20px red">Text here.</p>
This text has shadow with #987C4E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#987C4E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#987C4E, Direction=45, Strength=4)">Text</p>
This text has shadow with #987C4E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #987C4E; -webkit-box-shadow: 1px 1px 3px 2px #987C4E; box-shadow: 1px 1px 3px 2px #987C4E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #987C4E; -webkit-box-shadow: 1px 1px 3px 2px #987C4E; box-shadow:1px 1px 3px 2px #987C4E;">
Div content here</div>
This text has color #987C4E on black background.
This text has color #987C4E on white background.
This text has black color on #987C4E background.
This text has white color on #987C4E background.