HEX: #876AAA
RGB: (135,106,170)
#876AAA contains mainly red and blue colors. Web safe color of #876AAA is #996699 (or #969).
#876AAA color RGB value is (135,106,170).
RGB: (135,106,170) (53%,42%,67%)
R 135 of 255 = 53%
G 106 of 255 = 42%
B 170 of 255 = 67%
R + G + B ~ 54%. #876AAA is middle color (not dark and not light).
R + G + B =
135 + 106 + 170 = 411 (100%)
R 135 of 411 ~ 32.85%
G 106 of 411 ~ 25.79%
B 170 of 411 ~ 41.36%
#876AAA color CMYK value is (21,38,0,33).
CMYK: (21,38,0,33) C21M38Y0K33 (21%,38%,0%,33%) (0.21/0.38/0.00/0.33)
87 | 6A | AA | |
---|---|---|---|
RGB | 135 | 106 | 170 |
HSL | 267° | 27.35% | 54.12% |
HSB/HSV | 267° | 37.65% | 66.67% |
CMYK | 20.59% | 37.65% | 0.00% |
33.33% |
HEX | 87 | 6A | AA |
Decimal | 135 | 106 | 170 |
Binary | 10000111 | 1101010 | 10101010 |
Octal | 207 | 152 | 252 |
Examples of css and html codes for elements with #876AAA color. Also use rgb(135,106,170) instead hex code.
.myTextColor { color: #876AAA; }
<p style="color:#876AAA">This sample text font color is #876AAA.</p>
This text font color is #876AAA.
.myBgColor { background-color: #876AAA; }
<div style="background-color:#876AAA">Inner text</div>
This div background color is #876AAA.
.myBorderColor { border: 1px solid #876AAA; }
<div style="border:3px solid #876AAA">Div</div>
This div border color is #876AAA.
.myOpacity80 { color: #876AAA; opacity: 0.8; }
<p style="color:#876AAA;opacity:0.8;">80%</p>
Text with #876AAA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #876AAA;}
<p style="text-shadow: 3px 3px 1px #876AAA">Text here.</p>
This text has shadow with #876AAA color.
.textShadow {text-shadow: 3px 3px 1px #876AAA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #876AAA, 5px 5px 20px red">Text here.</p>
This text has shadow with #876AAA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#876AAA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#876AAA, Direction=45, Strength=4)">Text</p>
This text has shadow with #876AAA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #876AAA; -webkit-box-shadow: 1px 1px 3px 2px #876AAA; box-shadow: 1px 1px 3px 2px #876AAA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #876AAA; -webkit-box-shadow: 1px 1px 3px 2px #876AAA; box-shadow:1px 1px 3px 2px #876AAA;">
Div content here</div>
This text has color #876AAA on black background.
This text has color #876AAA on white background.
This text has black color on #876AAA background.
This text has white color on #876AAA background.