HEX: #878F6D
RGB: (135,143,109)
#878F6D contains red, green and blue colors in about the same proportion. Web safe color of #878F6D is #999966 (or #996).
#878F6D color RGB value is (135,143,109).
RGB: (135,143,109) (53%,56%,43%)
R 135 of 255 = 53%
G 143 of 255 = 56%
B 109 of 255 = 43%
R + G + B ~ 51%. #878F6D is middle color (not dark and not light).
R + G + B =
135 + 143 + 109 = 387 (100%)
R 135 of 387 ~ 34.88%
G 143 of 387 ~ 36.95%
B 109 of 387 ~ 28.17%
#878F6D color CMYK value is (6,0,24,44).
CMYK: (6,0,24,44) C6M0Y24K44 (6%,0%,24%,44%) (0.06/0.00/0.24/0.44)
87 | 8F | 6D | |
---|---|---|---|
RGB | 135 | 143 | 109 |
HSL | 74° | 13.49% | 49.41% |
HSB/HSV | 74° | 23.78% | 56.08% |
CMYK | 5.59% | 0.00% | 23.78% |
43.92% |
HEX | 87 | 8F | 6D |
Decimal | 135 | 143 | 109 |
Binary | 10000111 | 10001111 | 1101101 |
Octal | 207 | 217 | 155 |
Examples of css and html codes for elements with #878F6D color. Also use rgb(135,143,109) instead hex code.
.myTextColor { color: #878F6D; }
<p style="color:#878F6D">This sample text font color is #878F6D.</p>
This text font color is #878F6D.
.myBgColor { background-color: #878F6D; }
<div style="background-color:#878F6D">Inner text</div>
This div background color is #878F6D.
.myBorderColor { border: 1px solid #878F6D; }
<div style="border:3px solid #878F6D">Div</div>
This div border color is #878F6D.
.myOpacity80 { color: #878F6D; opacity: 0.8; }
<p style="color:#878F6D;opacity:0.8;">80%</p>
Text with #878F6D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #878F6D;}
<p style="text-shadow: 3px 3px 1px #878F6D">Text here.</p>
This text has shadow with #878F6D color.
.textShadow {text-shadow: 3px 3px 1px #878F6D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #878F6D, 5px 5px 20px red">Text here.</p>
This text has shadow with #878F6D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#878F6D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#878F6D, Direction=45, Strength=4)">Text</p>
This text has shadow with #878F6D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #878F6D; -webkit-box-shadow: 1px 1px 3px 2px #878F6D; box-shadow: 1px 1px 3px 2px #878F6D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #878F6D; -webkit-box-shadow: 1px 1px 3px 2px #878F6D; box-shadow:1px 1px 3px 2px #878F6D;">
Div content here</div>
This text has color #878F6D on black background.
This text has color #878F6D on white background.
This text has black color on #878F6D background.
This text has white color on #878F6D background.