HEX: #871D15
RGB: (135,29,21)
#871D15 contains mainly red color. Web safe color of #871D15 is #993300 (or #930).
#871D15 color RGB value is (135,29,21).
RGB: (135,29,21) (53%,11%,8%)
R 135 of 255 = 53%
G 29 of 255 = 11%
B 21 of 255 = 8%
R + G + B ~ 24%. #871D15 is dark color.
R + G + B =
135 + 29 + 21 = 185 (100%)
R 135 of 185 ~ 72.97%
G 29 of 185 ~ 15.68%
B 21 of 185 ~ 11.35%
#871D15 color CMYK value is (0,79,84,47).
CMYK: (0,79,84,47) C0M79Y84K47 (0%,79%,84%,47%) (0.00/0.79/0.84/0.47)
87 | 1D | 15 | |
---|---|---|---|
RGB | 135 | 29 | 21 |
HSL | 4° | 73.08% | 30.59% |
HSB/HSV | 4° | 84.44% | 52.94% |
CMYK | 0.00% | 78.52% | 84.44% |
47.06% |
HEX | 87 | 1D | 15 |
Decimal | 135 | 29 | 21 |
Binary | 10000111 | 11101 | 10101 |
Octal | 207 | 35 | 25 |
Examples of css and html codes for elements with #871D15 color. Also use rgb(135,29,21) instead hex code.
.myTextColor { color: #871D15; }
<p style="color:#871D15">This sample text font color is #871D15.</p>
This text font color is #871D15.
.myBgColor { background-color: #871D15; }
<div style="background-color:#871D15">Inner text</div>
This div background color is #871D15.
.myBorderColor { border: 1px solid #871D15; }
<div style="border:3px solid #871D15">Div</div>
This div border color is #871D15.
.myOpacity80 { color: #871D15; opacity: 0.8; }
<p style="color:#871D15;opacity:0.8;">80%</p>
Text with #871D15 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #871D15;}
<p style="text-shadow: 3px 3px 1px #871D15">Text here.</p>
This text has shadow with #871D15 color.
.textShadow {text-shadow: 3px 3px 1px #871D15, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #871D15, 5px 5px 20px red">Text here.</p>
This text has shadow with #871D15 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#871D15, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#871D15, Direction=45, Strength=4)">Text</p>
This text has shadow with #871D15 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #871D15; -webkit-box-shadow: 1px 1px 3px 2px #871D15; box-shadow: 1px 1px 3px 2px #871D15; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #871D15; -webkit-box-shadow: 1px 1px 3px 2px #871D15; box-shadow:1px 1px 3px 2px #871D15;">
Div content here</div>
This text has color #871D15 on black background.
This text has color #871D15 on white background.
This text has black color on #871D15 background.
This text has white color on #871D15 background.