HEX: #876990
RGB: (135,105,144)
#876990 contains red, green and blue colors in about the same proportion. Web safe color of #876990 is #996699 (or #969).
#876990 color RGB value is (135,105,144).
RGB: (135,105,144) (53%,41%,56%)
R 135 of 255 = 53%
G 105 of 255 = 41%
B 144 of 255 = 56%
R + G + B ~ 50%. #876990 is middle color (not dark and not light).
R + G + B =
135 + 105 + 144 = 384 (100%)
R 135 of 384 ~ 35.16%
G 105 of 384 ~ 27.34%
B 144 of 384 ~ 37.5%
#876990 color CMYK value is (6,27,0,44).
CMYK: (6,27,0,44) C6M27Y0K44 (6%,27%,0%,44%) (0.06/0.27/0.00/0.44)
87 | 69 | 90 | |
---|---|---|---|
RGB | 135 | 105 | 144 |
HSL | 286° | 15.66% | 48.82% |
HSB/HSV | 286° | 27.08% | 56.47% |
CMYK | 6.25% | 27.08% | 0.00% |
43.53% |
HEX | 87 | 69 | 90 |
Decimal | 135 | 105 | 144 |
Binary | 10000111 | 1101001 | 10010000 |
Octal | 207 | 151 | 220 |
Examples of css and html codes for elements with #876990 color. Also use rgb(135,105,144) instead hex code.
.myTextColor { color: #876990; }
<p style="color:#876990">This sample text font color is #876990.</p>
This text font color is #876990.
.myBgColor { background-color: #876990; }
<div style="background-color:#876990">Inner text</div>
This div background color is #876990.
.myBorderColor { border: 1px solid #876990; }
<div style="border:3px solid #876990">Div</div>
This div border color is #876990.
.myOpacity80 { color: #876990; opacity: 0.8; }
<p style="color:#876990;opacity:0.8;">80%</p>
Text with #876990 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #876990;}
<p style="text-shadow: 3px 3px 1px #876990">Text here.</p>
This text has shadow with #876990 color.
.textShadow {text-shadow: 3px 3px 1px #876990, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #876990, 5px 5px 20px red">Text here.</p>
This text has shadow with #876990 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#876990, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#876990, Direction=45, Strength=4)">Text</p>
This text has shadow with #876990 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #876990; -webkit-box-shadow: 1px 1px 3px 2px #876990; box-shadow: 1px 1px 3px 2px #876990; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #876990; -webkit-box-shadow: 1px 1px 3px 2px #876990; box-shadow:1px 1px 3px 2px #876990;">
Div content here</div>
This text has color #876990 on black background.
This text has color #876990 on white background.
This text has black color on #876990 background.
This text has white color on #876990 background.