HEX: #87897F
RGB: (135,137,127)
#87897F contains red, green and blue colors in about the same proportion. Web safe color of #87897F is #999966 (or #996).
#87897F color RGB value is (135,137,127).
RGB: (135,137,127) (53%,54%,50%)
R 135 of 255 = 53%
G 137 of 255 = 54%
B 127 of 255 = 50%
R + G + B ~ 52%. #87897F is middle color (not dark and not light).
R + G + B =
135 + 137 + 127 = 399 (100%)
R 135 of 399 ~ 33.83%
G 137 of 399 ~ 34.34%
B 127 of 399 ~ 31.83%
#87897F color CMYK value is (1,0,7,46).
CMYK: (1,0,7,46) C1M0Y7K46 (1%,0%,7%,46%) (0.01/0.00/0.07/0.46)
87 | 89 | 7F | |
---|---|---|---|
RGB | 135 | 137 | 127 |
HSL | 72° | 4.07% | 51.76% |
HSB/HSV | 72° | 7.30% | 53.73% |
CMYK | 1.46% | 0.00% | 7.30% |
46.27% |
HEX | 87 | 89 | 7F |
Decimal | 135 | 137 | 127 |
Binary | 10000111 | 10001001 | 1111111 |
Octal | 207 | 211 | 177 |
Examples of css and html codes for elements with #87897F color. Also use rgb(135,137,127) instead hex code.
.myTextColor { color: #87897F; }
<p style="color:#87897F">This sample text font color is #87897F.</p>
This text font color is #87897F.
.myBgColor { background-color: #87897F; }
<div style="background-color:#87897F">Inner text</div>
This div background color is #87897F.
.myBorderColor { border: 1px solid #87897F; }
<div style="border:3px solid #87897F">Div</div>
This div border color is #87897F.
.myOpacity80 { color: #87897F; opacity: 0.8; }
<p style="color:#87897F;opacity:0.8;">80%</p>
Text with #87897F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #87897F;}
<p style="text-shadow: 3px 3px 1px #87897F">Text here.</p>
This text has shadow with #87897F color.
.textShadow {text-shadow: 3px 3px 1px #87897F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #87897F, 5px 5px 20px red">Text here.</p>
This text has shadow with #87897F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#87897F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#87897F, Direction=45, Strength=4)">Text</p>
This text has shadow with #87897F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #87897F; -webkit-box-shadow: 1px 1px 3px 2px #87897F; box-shadow: 1px 1px 3px 2px #87897F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #87897F; -webkit-box-shadow: 1px 1px 3px 2px #87897F; box-shadow:1px 1px 3px 2px #87897F;">
Div content here</div>
This text has color #87897F on black background.
This text has color #87897F on white background.
This text has black color on #87897F background.
This text has white color on #87897F background.