HEX: #A4871D
RGB: (164,135,29)
#A4871D contains mainly red and green colors. Web safe color of #A4871D is #999933 (or #993).
#A4871D color RGB value is (164,135,29).
RGB: (164,135,29) (64%,53%,11%)
R 164 of 255 = 64%
G 135 of 255 = 53%
B 29 of 255 = 11%
R + G + B ~ 43%. #A4871D is middle color (not dark and not light).
R + G + B =
164 + 135 + 29 = 328 (100%)
R 164 of 328 ~ 50%
G 135 of 328 ~ 41.16%
B 29 of 328 ~ 8.84%
#A4871D color CMYK value is (0,18,82,36).
CMYK: (0,18,82,36) C0M18Y82K36 (0%,18%,82%,36%) (0.00/0.18/0.82/0.36)
A4 | 87 | 1D | |
---|---|---|---|
RGB | 164 | 135 | 29 |
HSL | 47° | 69.95% | 37.84% |
HSB/HSV | 47° | 82.32% | 64.31% |
CMYK | 0.00% | 17.68% | 82.32% |
35.69% |
HEX | A4 | 87 | 1D |
Decimal | 164 | 135 | 29 |
Binary | 10100100 | 10000111 | 11101 |
Octal | 244 | 207 | 35 |
Examples of css and html codes for elements with #A4871D color. Also use rgb(164,135,29) instead hex code.
.myTextColor { color: #A4871D; }
<p style="color:#A4871D">This sample text font color is #A4871D.</p>
This text font color is #A4871D.
.myBgColor { background-color: #A4871D; }
<div style="background-color:#A4871D">Inner text</div>
This div background color is #A4871D.
.myBorderColor { border: 1px solid #A4871D; }
<div style="border:3px solid #A4871D">Div</div>
This div border color is #A4871D.
.myOpacity80 { color: #A4871D; opacity: 0.8; }
<p style="color:#A4871D;opacity:0.8;">80%</p>
Text with #A4871D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A4871D;}
<p style="text-shadow: 3px 3px 1px #A4871D">Text here.</p>
This text has shadow with #A4871D color.
.textShadow {text-shadow: 3px 3px 1px #A4871D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A4871D, 5px 5px 20px red">Text here.</p>
This text has shadow with #A4871D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A4871D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A4871D, Direction=45, Strength=4)">Text</p>
This text has shadow with #A4871D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A4871D; -webkit-box-shadow: 1px 1px 3px 2px #A4871D; box-shadow: 1px 1px 3px 2px #A4871D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A4871D; -webkit-box-shadow: 1px 1px 3px 2px #A4871D; box-shadow:1px 1px 3px 2px #A4871D;">
Div content here</div>
This text has color #A4871D on black background.
This text has color #A4871D on white background.
This text has black color on #A4871D background.
This text has white color on #A4871D background.