HEX: #A6AA7E
RGB: (166,170,126)
#A6AA7E contains red, green and blue colors in about the same proportion. Web safe color of #A6AA7E is #999966 (or #996).
#A6AA7E color RGB value is (166,170,126).
RGB: (166,170,126) (65%,67%,49%)
R 166 of 255 = 65%
G 170 of 255 = 67%
B 126 of 255 = 49%
R + G + B ~ 60%. #A6AA7E is middle color (not dark and not light).
R + G + B =
166 + 170 + 126 = 462 (100%)
R 166 of 462 ~ 35.93%
G 170 of 462 ~ 36.8%
B 126 of 462 ~ 27.27%
#A6AA7E color CMYK value is (2,0,26,33).
CMYK: (2,0,26,33) C2M0Y26K33 (2%,0%,26%,33%) (0.02/0.00/0.26/0.33)
A6 | AA | 7E | |
---|---|---|---|
RGB | 166 | 170 | 126 |
HSL | 65° | 20.56% | 58.04% |
HSB/HSV | 65° | 25.88% | 66.67% |
CMYK | 2.35% | 0.00% | 25.88% |
33.33% |
HEX | A6 | AA | 7E |
Decimal | 166 | 170 | 126 |
Binary | 10100110 | 10101010 | 1111110 |
Octal | 246 | 252 | 176 |
Examples of css and html codes for elements with #A6AA7E color. Also use rgb(166,170,126) instead hex code.
.myTextColor { color: #A6AA7E; }
<p style="color:#A6AA7E">This sample text font color is #A6AA7E.</p>
This text font color is #A6AA7E.
.myBgColor { background-color: #A6AA7E; }
<div style="background-color:#A6AA7E">Inner text</div>
This div background color is #A6AA7E.
.myBorderColor { border: 1px solid #A6AA7E; }
<div style="border:3px solid #A6AA7E">Div</div>
This div border color is #A6AA7E.
.myOpacity80 { color: #A6AA7E; opacity: 0.8; }
<p style="color:#A6AA7E;opacity:0.8;">80%</p>
Text with #A6AA7E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A6AA7E;}
<p style="text-shadow: 3px 3px 1px #A6AA7E">Text here.</p>
This text has shadow with #A6AA7E color.
.textShadow {text-shadow: 3px 3px 1px #A6AA7E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A6AA7E, 5px 5px 20px red">Text here.</p>
This text has shadow with #A6AA7E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A6AA7E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A6AA7E, Direction=45, Strength=4)">Text</p>
This text has shadow with #A6AA7E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A6AA7E; -webkit-box-shadow: 1px 1px 3px 2px #A6AA7E; box-shadow: 1px 1px 3px 2px #A6AA7E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A6AA7E; -webkit-box-shadow: 1px 1px 3px 2px #A6AA7E; box-shadow:1px 1px 3px 2px #A6AA7E;">
Div content here</div>
This text has color #A6AA7E on black background.
This text has color #A6AA7E on white background.
This text has black color on #A6AA7E background.
This text has white color on #A6AA7E background.