HEX: #876196
RGB: (135,97,150)
#876196 contains red, green and blue colors in about the same proportion. Web safe color of #876196 is #996699 (or #969).
#876196 color RGB value is (135,97,150).
RGB: (135,97,150) (53%,38%,59%)
R 135 of 255 = 53%
G 97 of 255 = 38%
B 150 of 255 = 59%
R + G + B ~ 50%. #876196 is middle color (not dark and not light).
R + G + B =
135 + 97 + 150 = 382 (100%)
R 135 of 382 ~ 35.34%
G 97 of 382 ~ 25.39%
B 150 of 382 ~ 39.27%
#876196 color CMYK value is (10,35,0,41).
CMYK: (10,35,0,41) C10M35Y0K41 (10%,35%,0%,41%) (0.10/0.35/0.00/0.41)
87 | 61 | 96 | |
---|---|---|---|
RGB | 135 | 97 | 150 |
HSL | 283° | 21.46% | 48.43% |
HSB/HSV | 283° | 35.33% | 58.82% |
CMYK | 10.00% | 35.33% | 0.00% |
41.18% |
HEX | 87 | 61 | 96 |
Decimal | 135 | 97 | 150 |
Binary | 10000111 | 1100001 | 10010110 |
Octal | 207 | 141 | 226 |
Examples of css and html codes for elements with #876196 color. Also use rgb(135,97,150) instead hex code.
.myTextColor { color: #876196; }
<p style="color:#876196">This sample text font color is #876196.</p>
This text font color is #876196.
.myBgColor { background-color: #876196; }
<div style="background-color:#876196">Inner text</div>
This div background color is #876196.
.myBorderColor { border: 1px solid #876196; }
<div style="border:3px solid #876196">Div</div>
This div border color is #876196.
.myOpacity80 { color: #876196; opacity: 0.8; }
<p style="color:#876196;opacity:0.8;">80%</p>
Text with #876196 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #876196;}
<p style="text-shadow: 3px 3px 1px #876196">Text here.</p>
This text has shadow with #876196 color.
.textShadow {text-shadow: 3px 3px 1px #876196, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #876196, 5px 5px 20px red">Text here.</p>
This text has shadow with #876196 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#876196, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#876196, Direction=45, Strength=4)">Text</p>
This text has shadow with #876196 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #876196; -webkit-box-shadow: 1px 1px 3px 2px #876196; box-shadow: 1px 1px 3px 2px #876196; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #876196; -webkit-box-shadow: 1px 1px 3px 2px #876196; box-shadow:1px 1px 3px 2px #876196;">
Div content here</div>
This text has color #876196 on black background.
This text has color #876196 on white background.
This text has black color on #876196 background.
This text has white color on #876196 background.