HEX: #876C7E
RGB: (135,108,126)
#876C7E contains red, green and blue colors in about the same proportion. Web safe color of #876C7E is #996666 (or #966).
#876C7E color RGB value is (135,108,126).
RGB: (135,108,126) (53%,42%,49%)
R 135 of 255 = 53%
G 108 of 255 = 42%
B 126 of 255 = 49%
R + G + B ~ 48%. #876C7E is middle color (not dark and not light).
R + G + B =
135 + 108 + 126 = 369 (100%)
R 135 of 369 ~ 36.59%
G 108 of 369 ~ 29.27%
B 126 of 369 ~ 34.15%
#876C7E color CMYK value is (0,20,7,47).
CMYK: (0,20,7,47) C0M20Y7K47 (0%,20%,7%,47%) (0.00/0.20/0.07/0.47)
87 | 6C | 7E | |
---|---|---|---|
RGB | 135 | 108 | 126 |
HSL | 320° | 11.11% | 47.65% |
HSB/HSV | 320° | 20.00% | 52.94% |
CMYK | 0.00% | 20.00% | 6.67% |
47.06% |
HEX | 87 | 6C | 7E |
Decimal | 135 | 108 | 126 |
Binary | 10000111 | 1101100 | 1111110 |
Octal | 207 | 154 | 176 |
Examples of css and html codes for elements with #876C7E color. Also use rgb(135,108,126) instead hex code.
.myTextColor { color: #876C7E; }
<p style="color:#876C7E">This sample text font color is #876C7E.</p>
This text font color is #876C7E.
.myBgColor { background-color: #876C7E; }
<div style="background-color:#876C7E">Inner text</div>
This div background color is #876C7E.
.myBorderColor { border: 1px solid #876C7E; }
<div style="border:3px solid #876C7E">Div</div>
This div border color is #876C7E.
.myOpacity80 { color: #876C7E; opacity: 0.8; }
<p style="color:#876C7E;opacity:0.8;">80%</p>
Text with #876C7E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #876C7E;}
<p style="text-shadow: 3px 3px 1px #876C7E">Text here.</p>
This text has shadow with #876C7E color.
.textShadow {text-shadow: 3px 3px 1px #876C7E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #876C7E, 5px 5px 20px red">Text here.</p>
This text has shadow with #876C7E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#876C7E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#876C7E, Direction=45, Strength=4)">Text</p>
This text has shadow with #876C7E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #876C7E; -webkit-box-shadow: 1px 1px 3px 2px #876C7E; box-shadow: 1px 1px 3px 2px #876C7E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #876C7E; -webkit-box-shadow: 1px 1px 3px 2px #876C7E; box-shadow:1px 1px 3px 2px #876C7E;">
Div content here</div>
This text has color #876C7E on black background.
This text has color #876C7E on white background.
This text has black color on #876C7E background.
This text has white color on #876C7E background.