HEX: #876986
RGB: (135,105,134)
#876986 contains red, green and blue colors in about the same proportion. Web safe color of #876986 is #996699 (or #969).
#876986 color RGB value is (135,105,134).
RGB: (135,105,134) (53%,41%,53%)
R 135 of 255 = 53%
G 105 of 255 = 41%
B 134 of 255 = 53%
R + G + B ~ 49%. #876986 is middle color (not dark and not light).
R + G + B =
135 + 105 + 134 = 374 (100%)
R 135 of 374 ~ 36.1%
G 105 of 374 ~ 28.07%
B 134 of 374 ~ 35.83%
#876986 color CMYK value is (0,22,1,47).
CMYK: (0,22,1,47) C0M22Y1K47 (0%,22%,1%,47%) (0.00/0.22/0.01/0.47)
87 | 69 | 86 | |
---|---|---|---|
RGB | 135 | 105 | 134 |
HSL | 302° | 12.50% | 47.06% |
HSB/HSV | 302° | 22.22% | 52.94% |
CMYK | 0.00% | 22.22% | 0.74% |
47.06% |
HEX | 87 | 69 | 86 |
Decimal | 135 | 105 | 134 |
Binary | 10000111 | 1101001 | 10000110 |
Octal | 207 | 151 | 206 |
Examples of css and html codes for elements with #876986 color. Also use rgb(135,105,134) instead hex code.
.myTextColor { color: #876986; }
<p style="color:#876986">This sample text font color is #876986.</p>
This text font color is #876986.
.myBgColor { background-color: #876986; }
<div style="background-color:#876986">Inner text</div>
This div background color is #876986.
.myBorderColor { border: 1px solid #876986; }
<div style="border:3px solid #876986">Div</div>
This div border color is #876986.
.myOpacity80 { color: #876986; opacity: 0.8; }
<p style="color:#876986;opacity:0.8;">80%</p>
Text with #876986 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #876986;}
<p style="text-shadow: 3px 3px 1px #876986">Text here.</p>
This text has shadow with #876986 color.
.textShadow {text-shadow: 3px 3px 1px #876986, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #876986, 5px 5px 20px red">Text here.</p>
This text has shadow with #876986 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#876986, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#876986, Direction=45, Strength=4)">Text</p>
This text has shadow with #876986 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #876986; -webkit-box-shadow: 1px 1px 3px 2px #876986; box-shadow: 1px 1px 3px 2px #876986; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #876986; -webkit-box-shadow: 1px 1px 3px 2px #876986; box-shadow:1px 1px 3px 2px #876986;">
Div content here</div>
This text has color #876986 on black background.
This text has color #876986 on white background.
This text has black color on #876986 background.
This text has white color on #876986 background.