HEX: #876E1A
RGB: (135,110,26)
#876E1A contains mainly red and green colors. Web safe color of #876E1A is #996600 (or #960).
#876E1A color RGB value is (135,110,26).
RGB: (135,110,26) (53%,43%,10%)
R 135 of 255 = 53%
G 110 of 255 = 43%
B 26 of 255 = 10%
R + G + B ~ 35%. #876E1A is quite dark color.
R + G + B =
135 + 110 + 26 = 271 (100%)
R 135 of 271 ~ 49.82%
G 110 of 271 ~ 40.59%
B 26 of 271 ~ 9.59%
#876E1A color CMYK value is (0,19,81,47).
CMYK: (0,19,81,47) C0M19Y81K47 (0%,19%,81%,47%) (0.00/0.19/0.81/0.47)
87 | 6E | 1A | |
---|---|---|---|
RGB | 135 | 110 | 26 |
HSL | 46° | 67.70% | 31.57% |
HSB/HSV | 46° | 80.74% | 52.94% |
CMYK | 0.00% | 18.52% | 80.74% |
47.06% |
HEX | 87 | 6E | 1A |
Decimal | 135 | 110 | 26 |
Binary | 10000111 | 1101110 | 11010 |
Octal | 207 | 156 | 32 |
Examples of css and html codes for elements with #876E1A color. Also use rgb(135,110,26) instead hex code.
.myTextColor { color: #876E1A; }
<p style="color:#876E1A">This sample text font color is #876E1A.</p>
This text font color is #876E1A.
.myBgColor { background-color: #876E1A; }
<div style="background-color:#876E1A">Inner text</div>
This div background color is #876E1A.
.myBorderColor { border: 1px solid #876E1A; }
<div style="border:3px solid #876E1A">Div</div>
This div border color is #876E1A.
.myOpacity80 { color: #876E1A; opacity: 0.8; }
<p style="color:#876E1A;opacity:0.8;">80%</p>
Text with #876E1A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #876E1A;}
<p style="text-shadow: 3px 3px 1px #876E1A">Text here.</p>
This text has shadow with #876E1A color.
.textShadow {text-shadow: 3px 3px 1px #876E1A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #876E1A, 5px 5px 20px red">Text here.</p>
This text has shadow with #876E1A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#876E1A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#876E1A, Direction=45, Strength=4)">Text</p>
This text has shadow with #876E1A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #876E1A; -webkit-box-shadow: 1px 1px 3px 2px #876E1A; box-shadow: 1px 1px 3px 2px #876E1A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #876E1A; -webkit-box-shadow: 1px 1px 3px 2px #876E1A; box-shadow:1px 1px 3px 2px #876E1A;">
Div content here</div>
This text has color #876E1A on black background.
This text has color #876E1A on white background.
This text has black color on #876E1A background.
This text has white color on #876E1A background.