HEX: #874D24
RGB: (135,77,36)
#874D24 contains mainly red and green colors. Web safe color of #874D24 is #993333 (or #933).
#874D24 color RGB value is (135,77,36).
RGB: (135,77,36) (53%,30%,14%)
R 135 of 255 = 53%
G 77 of 255 = 30%
B 36 of 255 = 14%
R + G + B ~ 32%. #874D24 is quite dark color.
R + G + B =
135 + 77 + 36 = 248 (100%)
R 135 of 248 ~ 54.44%
G 77 of 248 ~ 31.05%
B 36 of 248 ~ 14.52%
#874D24 color CMYK value is (0,43,73,47).
CMYK: (0,43,73,47) C0M43Y73K47 (0%,43%,73%,47%) (0.00/0.43/0.73/0.47)
87 | 4D | 24 | |
---|---|---|---|
RGB | 135 | 77 | 36 |
HSL | 25° | 57.89% | 33.53% |
HSB/HSV | 25° | 73.33% | 52.94% |
CMYK | 0.00% | 42.96% | 73.33% |
47.06% |
HEX | 87 | 4D | 24 |
Decimal | 135 | 77 | 36 |
Binary | 10000111 | 1001101 | 100100 |
Octal | 207 | 115 | 44 |
Examples of css and html codes for elements with #874D24 color. Also use rgb(135,77,36) instead hex code.
.myTextColor { color: #874D24; }
<p style="color:#874D24">This sample text font color is #874D24.</p>
This text font color is #874D24.
.myBgColor { background-color: #874D24; }
<div style="background-color:#874D24">Inner text</div>
This div background color is #874D24.
.myBorderColor { border: 1px solid #874D24; }
<div style="border:3px solid #874D24">Div</div>
This div border color is #874D24.
.myOpacity80 { color: #874D24; opacity: 0.8; }
<p style="color:#874D24;opacity:0.8;">80%</p>
Text with #874D24 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #874D24;}
<p style="text-shadow: 3px 3px 1px #874D24">Text here.</p>
This text has shadow with #874D24 color.
.textShadow {text-shadow: 3px 3px 1px #874D24, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #874D24, 5px 5px 20px red">Text here.</p>
This text has shadow with #874D24 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#874D24, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#874D24, Direction=45, Strength=4)">Text</p>
This text has shadow with #874D24 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #874D24; -webkit-box-shadow: 1px 1px 3px 2px #874D24; box-shadow: 1px 1px 3px 2px #874D24; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #874D24; -webkit-box-shadow: 1px 1px 3px 2px #874D24; box-shadow:1px 1px 3px 2px #874D24;">
Div content here</div>
This text has color #874D24 on black background.
This text has color #874D24 on white background.
This text has black color on #874D24 background.
This text has white color on #874D24 background.