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