HEX: #87997E
RGB: (135,153,126)
#87997E contains red, green and blue colors in about the same proportion. Web safe color of #87997E is #999966 (or #996).
#87997E color RGB value is (135,153,126).
RGB: (135,153,126) (53%,60%,49%)
R 135 of 255 = 53%
G 153 of 255 = 60%
B 126 of 255 = 49%
R + G + B ~ 54%. #87997E is middle color (not dark and not light).
R + G + B =
135 + 153 + 126 = 414 (100%)
R 135 of 414 ~ 32.61%
G 153 of 414 ~ 36.96%
B 126 of 414 ~ 30.43%
#87997E color CMYK value is (12,0,18,40).
CMYK: (12,0,18,40) C12M0Y18K40 (12%,0%,18%,40%) (0.12/0.00/0.18/0.40)
87 | 99 | 7E | |
---|---|---|---|
RGB | 135 | 153 | 126 |
HSL | 100° | 11.69% | 54.71% |
HSB/HSV | 100° | 17.65% | 60.00% |
CMYK | 11.76% | 0.00% | 17.65% |
40.00% |
HEX | 87 | 99 | 7E |
Decimal | 135 | 153 | 126 |
Binary | 10000111 | 10011001 | 1111110 |
Octal | 207 | 231 | 176 |
Examples of css and html codes for elements with #87997E color. Also use rgb(135,153,126) instead hex code.
.myTextColor { color: #87997E; }
<p style="color:#87997E">This sample text font color is #87997E.</p>
This text font color is #87997E.
.myBgColor { background-color: #87997E; }
<div style="background-color:#87997E">Inner text</div>
This div background color is #87997E.
.myBorderColor { border: 1px solid #87997E; }
<div style="border:3px solid #87997E">Div</div>
This div border color is #87997E.
.myOpacity80 { color: #87997E; opacity: 0.8; }
<p style="color:#87997E;opacity:0.8;">80%</p>
Text with #87997E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #87997E;}
<p style="text-shadow: 3px 3px 1px #87997E">Text here.</p>
This text has shadow with #87997E color.
.textShadow {text-shadow: 3px 3px 1px #87997E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #87997E, 5px 5px 20px red">Text here.</p>
This text has shadow with #87997E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#87997E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#87997E, Direction=45, Strength=4)">Text</p>
This text has shadow with #87997E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #87997E; -webkit-box-shadow: 1px 1px 3px 2px #87997E; box-shadow: 1px 1px 3px 2px #87997E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #87997E; -webkit-box-shadow: 1px 1px 3px 2px #87997E; box-shadow:1px 1px 3px 2px #87997E;">
Div content here</div>
This text has color #87997E on black background.
This text has color #87997E on white background.
This text has black color on #87997E background.
This text has white color on #87997E background.