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