HEX: #871D7E
RGB: (135,29,126)
#871D7E contains mainly red and blue colors. Web safe color of #871D7E is #993366 (or #936).
#871D7E color RGB value is (135,29,126).
RGB: (135,29,126) (53%,11%,49%)
R 135 of 255 = 53%
G 29 of 255 = 11%
B 126 of 255 = 49%
R + G + B ~ 38%. #871D7E is quite dark color.
R + G + B =
135 + 29 + 126 = 290 (100%)
R 135 of 290 ~ 46.55%
G 29 of 290 ~ 10%
B 126 of 290 ~ 43.45%
#871D7E color CMYK value is (0,79,7,47).
CMYK: (0,79,7,47) C0M79Y7K47 (0%,79%,7%,47%) (0.00/0.79/0.07/0.47)
87 | 1D | 7E | |
---|---|---|---|
RGB | 135 | 29 | 126 |
HSL | 305° | 64.63% | 32.16% |
HSB/HSV | 305° | 78.52% | 52.94% |
CMYK | 0.00% | 78.52% | 6.67% |
47.06% |
HEX | 87 | 1D | 7E |
Decimal | 135 | 29 | 126 |
Binary | 10000111 | 11101 | 1111110 |
Octal | 207 | 35 | 176 |
Examples of css and html codes for elements with #871D7E color. Also use rgb(135,29,126) instead hex code.
.myTextColor { color: #871D7E; }
<p style="color:#871D7E">This sample text font color is #871D7E.</p>
This text font color is #871D7E.
.myBgColor { background-color: #871D7E; }
<div style="background-color:#871D7E">Inner text</div>
This div background color is #871D7E.
.myBorderColor { border: 1px solid #871D7E; }
<div style="border:3px solid #871D7E">Div</div>
This div border color is #871D7E.
.myOpacity80 { color: #871D7E; opacity: 0.8; }
<p style="color:#871D7E;opacity:0.8;">80%</p>
Text with #871D7E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #871D7E;}
<p style="text-shadow: 3px 3px 1px #871D7E">Text here.</p>
This text has shadow with #871D7E color.
.textShadow {text-shadow: 3px 3px 1px #871D7E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #871D7E, 5px 5px 20px red">Text here.</p>
This text has shadow with #871D7E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#871D7E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#871D7E, Direction=45, Strength=4)">Text</p>
This text has shadow with #871D7E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #871D7E; -webkit-box-shadow: 1px 1px 3px 2px #871D7E; box-shadow: 1px 1px 3px 2px #871D7E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #871D7E; -webkit-box-shadow: 1px 1px 3px 2px #871D7E; box-shadow:1px 1px 3px 2px #871D7E;">
Div content here</div>
This text has color #871D7E on black background.
This text has color #871D7E on white background.
This text has black color on #871D7E background.
This text has white color on #871D7E background.