HEX: #A6875E
RGB: (166,135,94)
#A6875E contains mainly red and green colors. Web safe color of #A6875E is #999966 (or #996).
#A6875E color RGB value is (166,135,94).
RGB: (166,135,94) (65%,53%,37%)
R 166 of 255 = 65%
G 135 of 255 = 53%
B 94 of 255 = 37%
R + G + B ~ 52%. #A6875E is middle color (not dark and not light).
R + G + B =
166 + 135 + 94 = 395 (100%)
R 166 of 395 ~ 42.03%
G 135 of 395 ~ 34.18%
B 94 of 395 ~ 23.8%
#A6875E color CMYK value is (0,19,43,35).
CMYK: (0,19,43,35) C0M19Y43K35 (0%,19%,43%,35%) (0.00/0.19/0.43/0.35)
A6 | 87 | 5E | |
---|---|---|---|
RGB | 166 | 135 | 94 |
HSL | 34° | 28.80% | 50.98% |
HSB/HSV | 34° | 43.37% | 65.10% |
CMYK | 0.00% | 18.67% | 43.37% |
34.90% |
HEX | A6 | 87 | 5E |
Decimal | 166 | 135 | 94 |
Binary | 10100110 | 10000111 | 1011110 |
Octal | 246 | 207 | 136 |
Examples of css and html codes for elements with #A6875E color. Also use rgb(166,135,94) instead hex code.
.myTextColor { color: #A6875E; }
<p style="color:#A6875E">This sample text font color is #A6875E.</p>
This text font color is #A6875E.
.myBgColor { background-color: #A6875E; }
<div style="background-color:#A6875E">Inner text</div>
This div background color is #A6875E.
.myBorderColor { border: 1px solid #A6875E; }
<div style="border:3px solid #A6875E">Div</div>
This div border color is #A6875E.
.myOpacity80 { color: #A6875E; opacity: 0.8; }
<p style="color:#A6875E;opacity:0.8;">80%</p>
Text with #A6875E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A6875E;}
<p style="text-shadow: 3px 3px 1px #A6875E">Text here.</p>
This text has shadow with #A6875E color.
.textShadow {text-shadow: 3px 3px 1px #A6875E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A6875E, 5px 5px 20px red">Text here.</p>
This text has shadow with #A6875E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A6875E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A6875E, Direction=45, Strength=4)">Text</p>
This text has shadow with #A6875E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A6875E; -webkit-box-shadow: 1px 1px 3px 2px #A6875E; box-shadow: 1px 1px 3px 2px #A6875E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A6875E; -webkit-box-shadow: 1px 1px 3px 2px #A6875E; box-shadow:1px 1px 3px 2px #A6875E;">
Div content here</div>
This text has color #A6875E on black background.
This text has color #A6875E on white background.
This text has black color on #A6875E background.
This text has white color on #A6875E background.