HEX: #876888
RGB: (135,104,136)
#876888 contains red, green and blue colors in about the same proportion. Web safe color of #876888 is #996699 (or #969).
#876888 color RGB value is (135,104,136).
RGB: (135,104,136) (53%,41%,53%)
R 135 of 255 = 53%
G 104 of 255 = 41%
B 136 of 255 = 53%
R + G + B ~ 49%. #876888 is middle color (not dark and not light).
R + G + B =
135 + 104 + 136 = 375 (100%)
R 135 of 375 ~ 36%
G 104 of 375 ~ 27.73%
B 136 of 375 ~ 36.27%
#876888 color CMYK value is (1,24,0,47).
CMYK: (1,24,0,47) C1M24Y0K47 (1%,24%,0%,47%) (0.01/0.24/0.00/0.47)
87 | 68 | 88 | |
---|---|---|---|
RGB | 135 | 104 | 136 |
HSL | 298° | 13.33% | 47.06% |
HSB/HSV | 298° | 23.53% | 53.33% |
CMYK | 0.74% | 23.53% | 0.00% |
46.67% |
HEX | 87 | 68 | 88 |
Decimal | 135 | 104 | 136 |
Binary | 10000111 | 1101000 | 10001000 |
Octal | 207 | 150 | 210 |
Examples of css and html codes for elements with #876888 color. Also use rgb(135,104,136) instead hex code.
.myTextColor { color: #876888; }
<p style="color:#876888">This sample text font color is #876888.</p>
This text font color is #876888.
.myBgColor { background-color: #876888; }
<div style="background-color:#876888">Inner text</div>
This div background color is #876888.
.myBorderColor { border: 1px solid #876888; }
<div style="border:3px solid #876888">Div</div>
This div border color is #876888.
.myOpacity80 { color: #876888; opacity: 0.8; }
<p style="color:#876888;opacity:0.8;">80%</p>
Text with #876888 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #876888;}
<p style="text-shadow: 3px 3px 1px #876888">Text here.</p>
This text has shadow with #876888 color.
.textShadow {text-shadow: 3px 3px 1px #876888, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #876888, 5px 5px 20px red">Text here.</p>
This text has shadow with #876888 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#876888, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#876888, Direction=45, Strength=4)">Text</p>
This text has shadow with #876888 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #876888; -webkit-box-shadow: 1px 1px 3px 2px #876888; box-shadow: 1px 1px 3px 2px #876888; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #876888; -webkit-box-shadow: 1px 1px 3px 2px #876888; box-shadow:1px 1px 3px 2px #876888;">
Div content here</div>
This text has color #876888 on black background.
This text has color #876888 on white background.
This text has black color on #876888 background.
This text has white color on #876888 background.