HEX: #A6AD3E
RGB: (166,173,62)
#A6AD3E contains mainly red and green colors. Web safe color of #A6AD3E is #999933 (or #993).
#A6AD3E color RGB value is (166,173,62).
RGB: (166,173,62) (65%,68%,24%)
R 166 of 255 = 65%
G 173 of 255 = 68%
B 62 of 255 = 24%
R + G + B ~ 52%. #A6AD3E is middle color (not dark and not light).
R + G + B =
166 + 173 + 62 = 401 (100%)
R 166 of 401 ~ 41.4%
G 173 of 401 ~ 43.14%
B 62 of 401 ~ 15.46%
#A6AD3E color CMYK value is (4,0,64,32).
CMYK: (4,0,64,32) C4M0Y64K32 (4%,0%,64%,32%) (0.04/0.00/0.64/0.32)
A6 | AD | 3E | |
---|---|---|---|
RGB | 166 | 173 | 62 |
HSL | 64° | 47.23% | 46.08% |
HSB/HSV | 64° | 64.16% | 67.84% |
CMYK | 4.05% | 0.00% | 64.16% |
32.16% |
HEX | A6 | AD | 3E |
Decimal | 166 | 173 | 62 |
Binary | 10100110 | 10101101 | 111110 |
Octal | 246 | 255 | 76 |
Examples of css and html codes for elements with #A6AD3E color. Also use rgb(166,173,62) instead hex code.
.myTextColor { color: #A6AD3E; }
<p style="color:#A6AD3E">This sample text font color is #A6AD3E.</p>
This text font color is #A6AD3E.
.myBgColor { background-color: #A6AD3E; }
<div style="background-color:#A6AD3E">Inner text</div>
This div background color is #A6AD3E.
.myBorderColor { border: 1px solid #A6AD3E; }
<div style="border:3px solid #A6AD3E">Div</div>
This div border color is #A6AD3E.
.myOpacity80 { color: #A6AD3E; opacity: 0.8; }
<p style="color:#A6AD3E;opacity:0.8;">80%</p>
Text with #A6AD3E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A6AD3E;}
<p style="text-shadow: 3px 3px 1px #A6AD3E">Text here.</p>
This text has shadow with #A6AD3E color.
.textShadow {text-shadow: 3px 3px 1px #A6AD3E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A6AD3E, 5px 5px 20px red">Text here.</p>
This text has shadow with #A6AD3E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A6AD3E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A6AD3E, Direction=45, Strength=4)">Text</p>
This text has shadow with #A6AD3E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A6AD3E; -webkit-box-shadow: 1px 1px 3px 2px #A6AD3E; box-shadow: 1px 1px 3px 2px #A6AD3E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A6AD3E; -webkit-box-shadow: 1px 1px 3px 2px #A6AD3E; box-shadow:1px 1px 3px 2px #A6AD3E;">
Div content here</div>
This text has color #A6AD3E on black background.
This text has color #A6AD3E on white background.
This text has black color on #A6AD3E background.
This text has white color on #A6AD3E background.