HEX: #A6897E
RGB: (166,137,126)
#A6897E contains red, green and blue colors in about the same proportion. Web safe color of #A6897E is #999966 (or #996).
#A6897E color RGB value is (166,137,126).
RGB: (166,137,126) (65%,54%,49%)
R 166 of 255 = 65%
G 137 of 255 = 54%
B 126 of 255 = 49%
R + G + B ~ 56%. #A6897E is middle color (not dark and not light).
R + G + B =
166 + 137 + 126 = 429 (100%)
R 166 of 429 ~ 38.69%
G 137 of 429 ~ 31.93%
B 126 of 429 ~ 29.37%
#A6897E color CMYK value is (0,17,24,35).
CMYK: (0,17,24,35) C0M17Y24K35 (0%,17%,24%,35%) (0.00/0.17/0.24/0.35)
A6 | 89 | 7E | |
---|---|---|---|
RGB | 166 | 137 | 126 |
HSL | 17° | 18.35% | 57.25% |
HSB/HSV | 17° | 24.10% | 65.10% |
CMYK | 0.00% | 17.47% | 24.10% |
34.90% |
HEX | A6 | 89 | 7E |
Decimal | 166 | 137 | 126 |
Binary | 10100110 | 10001001 | 1111110 |
Octal | 246 | 211 | 176 |
Examples of css and html codes for elements with #A6897E color. Also use rgb(166,137,126) instead hex code.
.myTextColor { color: #A6897E; }
<p style="color:#A6897E">This sample text font color is #A6897E.</p>
This text font color is #A6897E.
.myBgColor { background-color: #A6897E; }
<div style="background-color:#A6897E">Inner text</div>
This div background color is #A6897E.
.myBorderColor { border: 1px solid #A6897E; }
<div style="border:3px solid #A6897E">Div</div>
This div border color is #A6897E.
.myOpacity80 { color: #A6897E; opacity: 0.8; }
<p style="color:#A6897E;opacity:0.8;">80%</p>
Text with #A6897E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A6897E;}
<p style="text-shadow: 3px 3px 1px #A6897E">Text here.</p>
This text has shadow with #A6897E color.
.textShadow {text-shadow: 3px 3px 1px #A6897E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A6897E, 5px 5px 20px red">Text here.</p>
This text has shadow with #A6897E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A6897E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A6897E, Direction=45, Strength=4)">Text</p>
This text has shadow with #A6897E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A6897E; -webkit-box-shadow: 1px 1px 3px 2px #A6897E; box-shadow: 1px 1px 3px 2px #A6897E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A6897E; -webkit-box-shadow: 1px 1px 3px 2px #A6897E; box-shadow:1px 1px 3px 2px #A6897E;">
Div content here</div>
This text has color #A6897E on black background.
This text has color #A6897E on white background.
This text has black color on #A6897E background.
This text has white color on #A6897E background.