HEX: #876C1D
RGB: (135,108,29)
#876C1D contains mainly red and green colors. Web safe color of #876C1D is #996633 (or #963).
#876C1D color RGB value is (135,108,29).
RGB: (135,108,29) (53%,42%,11%)
R 135 of 255 = 53%
G 108 of 255 = 42%
B 29 of 255 = 11%
R + G + B ~ 35%. #876C1D is quite dark color.
R + G + B =
135 + 108 + 29 = 272 (100%)
R 135 of 272 ~ 49.63%
G 108 of 272 ~ 39.71%
B 29 of 272 ~ 10.66%
#876C1D color CMYK value is (0,20,79,47).
CMYK: (0,20,79,47) C0M20Y79K47 (0%,20%,79%,47%) (0.00/0.20/0.79/0.47)
87 | 6C | 1D | |
---|---|---|---|
RGB | 135 | 108 | 29 |
HSL | 45° | 64.63% | 32.16% |
HSB/HSV | 45° | 78.52% | 52.94% |
CMYK | 0.00% | 20.00% | 78.52% |
47.06% |
HEX | 87 | 6C | 1D |
Decimal | 135 | 108 | 29 |
Binary | 10000111 | 1101100 | 11101 |
Octal | 207 | 154 | 35 |
Examples of css and html codes for elements with #876C1D color. Also use rgb(135,108,29) instead hex code.
.myTextColor { color: #876C1D; }
<p style="color:#876C1D">This sample text font color is #876C1D.</p>
This text font color is #876C1D.
.myBgColor { background-color: #876C1D; }
<div style="background-color:#876C1D">Inner text</div>
This div background color is #876C1D.
.myBorderColor { border: 1px solid #876C1D; }
<div style="border:3px solid #876C1D">Div</div>
This div border color is #876C1D.
.myOpacity80 { color: #876C1D; opacity: 0.8; }
<p style="color:#876C1D;opacity:0.8;">80%</p>
Text with #876C1D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #876C1D;}
<p style="text-shadow: 3px 3px 1px #876C1D">Text here.</p>
This text has shadow with #876C1D color.
.textShadow {text-shadow: 3px 3px 1px #876C1D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #876C1D, 5px 5px 20px red">Text here.</p>
This text has shadow with #876C1D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#876C1D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#876C1D, Direction=45, Strength=4)">Text</p>
This text has shadow with #876C1D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #876C1D; -webkit-box-shadow: 1px 1px 3px 2px #876C1D; box-shadow: 1px 1px 3px 2px #876C1D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #876C1D; -webkit-box-shadow: 1px 1px 3px 2px #876C1D; box-shadow:1px 1px 3px 2px #876C1D;">
Div content here</div>
This text has color #876C1D on black background.
This text has color #876C1D on white background.
This text has black color on #876C1D background.
This text has white color on #876C1D background.