HEX: #A6A966
RGB: (166,169,102)
#A6A966 contains mainly red and green colors. Web safe color of #A6A966 is #999966 (or #996).
#A6A966 color RGB value is (166,169,102).
RGB: (166,169,102) (65%,66%,40%)
R 166 of 255 = 65%
G 169 of 255 = 66%
B 102 of 255 = 40%
R + G + B ~ 57%. #A6A966 is middle color (not dark and not light).
R + G + B =
166 + 169 + 102 = 437 (100%)
R 166 of 437 ~ 37.99%
G 169 of 437 ~ 38.67%
B 102 of 437 ~ 23.34%
#A6A966 color CMYK value is (2,0,40,34).
CMYK: (2,0,40,34) C2M0Y40K34 (2%,0%,40%,34%) (0.02/0.00/0.40/0.34)
A6 | A9 | 66 | |
---|---|---|---|
RGB | 166 | 169 | 102 |
HSL | 63° | 28.03% | 53.14% |
HSB/HSV | 63° | 39.64% | 66.27% |
CMYK | 1.78% | 0.00% | 39.64% |
33.73% |
HEX | A6 | A9 | 66 |
Decimal | 166 | 169 | 102 |
Binary | 10100110 | 10101001 | 1100110 |
Octal | 246 | 251 | 146 |
Examples of css and html codes for elements with #A6A966 color. Also use rgb(166,169,102) instead hex code.
.myTextColor { color: #A6A966; }
<p style="color:#A6A966">This sample text font color is #A6A966.</p>
This text font color is #A6A966.
.myBgColor { background-color: #A6A966; }
<div style="background-color:#A6A966">Inner text</div>
This div background color is #A6A966.
.myBorderColor { border: 1px solid #A6A966; }
<div style="border:3px solid #A6A966">Div</div>
This div border color is #A6A966.
.myOpacity80 { color: #A6A966; opacity: 0.8; }
<p style="color:#A6A966;opacity:0.8;">80%</p>
Text with #A6A966 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A6A966;}
<p style="text-shadow: 3px 3px 1px #A6A966">Text here.</p>
This text has shadow with #A6A966 color.
.textShadow {text-shadow: 3px 3px 1px #A6A966, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A6A966, 5px 5px 20px red">Text here.</p>
This text has shadow with #A6A966 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A6A966, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A6A966, Direction=45, Strength=4)">Text</p>
This text has shadow with #A6A966 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A6A966; -webkit-box-shadow: 1px 1px 3px 2px #A6A966; box-shadow: 1px 1px 3px 2px #A6A966; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A6A966; -webkit-box-shadow: 1px 1px 3px 2px #A6A966; box-shadow:1px 1px 3px 2px #A6A966;">
Div content here</div>
This text has color #A6A966 on black background.
This text has color #A6A966 on white background.
This text has black color on #A6A966 background.
This text has white color on #A6A966 background.