HEX: #A6A610
RGB: (166,166,16)
#A6A610 contains mainly red and green colors. Web safe color of #A6A610 is #999900 (or #990).
#A6A610 color RGB value is (166,166,16).
RGB: (166,166,16) (65%,65%,6%)
R 166 of 255 = 65%
G 166 of 255 = 65%
B 16 of 255 = 6%
R + G + B ~ 45%. #A6A610 is middle color (not dark and not light).
R + G + B =
166 + 166 + 16 = 348 (100%)
R 166 of 348 ~ 47.7%
G 166 of 348 ~ 47.7%
B 16 of 348 ~ 4.6%
#A6A610 color CMYK value is (0,0,90,35).
CMYK: (0,0,90,35) C0M0Y90K35 (0%,0%,90%,35%) (0.00/0.00/0.90/0.35)
A6 | A6 | 10 | |
---|---|---|---|
RGB | 166 | 166 | 16 |
HSL | 60° | 82.42% | 35.69% |
HSB/HSV | 60° | 90.36% | 65.10% |
CMYK | 0.00% | 0.00% | 90.36% |
34.90% |
HEX | A6 | A6 | 10 |
Decimal | 166 | 166 | 16 |
Binary | 10100110 | 10100110 | 10000 |
Octal | 246 | 246 | 20 |
Examples of css and html codes for elements with #A6A610 color. Also use rgb(166,166,16) instead hex code.
.myTextColor { color: #A6A610; }
<p style="color:#A6A610">This sample text font color is #A6A610.</p>
This text font color is #A6A610.
.myBgColor { background-color: #A6A610; }
<div style="background-color:#A6A610">Inner text</div>
This div background color is #A6A610.
.myBorderColor { border: 1px solid #A6A610; }
<div style="border:3px solid #A6A610">Div</div>
This div border color is #A6A610.
.myOpacity80 { color: #A6A610; opacity: 0.8; }
<p style="color:#A6A610;opacity:0.8;">80%</p>
Text with #A6A610 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A6A610;}
<p style="text-shadow: 3px 3px 1px #A6A610">Text here.</p>
This text has shadow with #A6A610 color.
.textShadow {text-shadow: 3px 3px 1px #A6A610, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A6A610, 5px 5px 20px red">Text here.</p>
This text has shadow with #A6A610 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A6A610, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A6A610, Direction=45, Strength=4)">Text</p>
This text has shadow with #A6A610 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A6A610; -webkit-box-shadow: 1px 1px 3px 2px #A6A610; box-shadow: 1px 1px 3px 2px #A6A610; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A6A610; -webkit-box-shadow: 1px 1px 3px 2px #A6A610; box-shadow:1px 1px 3px 2px #A6A610;">
Div content here</div>
This text has color #A6A610 on black background.
This text has color #A6A610 on white background.
This text has black color on #A6A610 background.
This text has white color on #A6A610 background.