HEX: #876D22
RGB: (135,109,34)
#876D22 contains mainly red and green colors. Web safe color of #876D22 is #996633 (or #963).
#876D22 color RGB value is (135,109,34).
RGB: (135,109,34) (53%,43%,13%)
R 135 of 255 = 53%
G 109 of 255 = 43%
B 34 of 255 = 13%
R + G + B ~ 36%. #876D22 is quite dark color.
R + G + B =
135 + 109 + 34 = 278 (100%)
R 135 of 278 ~ 48.56%
G 109 of 278 ~ 39.21%
B 34 of 278 ~ 12.23%
#876D22 color CMYK value is (0,19,75,47).
CMYK: (0,19,75,47) C0M19Y75K47 (0%,19%,75%,47%) (0.00/0.19/0.75/0.47)
87 | 6D | 22 | |
---|---|---|---|
RGB | 135 | 109 | 34 |
HSL | 45° | 59.76% | 33.14% |
HSB/HSV | 45° | 74.81% | 52.94% |
CMYK | 0.00% | 19.26% | 74.81% |
47.06% |
HEX | 87 | 6D | 22 |
Decimal | 135 | 109 | 34 |
Binary | 10000111 | 1101101 | 100010 |
Octal | 207 | 155 | 42 |
Examples of css and html codes for elements with #876D22 color. Also use rgb(135,109,34) instead hex code.
.myTextColor { color: #876D22; }
<p style="color:#876D22">This sample text font color is #876D22.</p>
This text font color is #876D22.
.myBgColor { background-color: #876D22; }
<div style="background-color:#876D22">Inner text</div>
This div background color is #876D22.
.myBorderColor { border: 1px solid #876D22; }
<div style="border:3px solid #876D22">Div</div>
This div border color is #876D22.
.myOpacity80 { color: #876D22; opacity: 0.8; }
<p style="color:#876D22;opacity:0.8;">80%</p>
Text with #876D22 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #876D22;}
<p style="text-shadow: 3px 3px 1px #876D22">Text here.</p>
This text has shadow with #876D22 color.
.textShadow {text-shadow: 3px 3px 1px #876D22, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #876D22, 5px 5px 20px red">Text here.</p>
This text has shadow with #876D22 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#876D22, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#876D22, Direction=45, Strength=4)">Text</p>
This text has shadow with #876D22 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #876D22; -webkit-box-shadow: 1px 1px 3px 2px #876D22; box-shadow: 1px 1px 3px 2px #876D22; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #876D22; -webkit-box-shadow: 1px 1px 3px 2px #876D22; box-shadow:1px 1px 3px 2px #876D22;">
Div content here</div>
This text has color #876D22 on black background.
This text has color #876D22 on white background.
This text has black color on #876D22 background.
This text has white color on #876D22 background.