HEX: #A6C66D
RGB: (166,198,109)
#A6C66D contains mainly red and green colors. Web safe color of #A6C66D is #99CC66 (or #9C6).
#A6C66D color RGB value is (166,198,109).
RGB: (166,198,109) (65%,78%,43%)
R 166 of 255 = 65%
G 198 of 255 = 78%
B 109 of 255 = 43%
R + G + B ~ 62%. #A6C66D is quite light color.
R + G + B =
166 + 198 + 109 = 473 (100%)
R 166 of 473 ~ 35.1%
G 198 of 473 ~ 41.86%
B 109 of 473 ~ 23.04%
#A6C66D color CMYK value is (16,0,45,22).
CMYK: (16,0,45,22) C16M0Y45K22 (16%,0%,45%,22%) (0.16/0.00/0.45/0.22)
A6 | C6 | 6D | |
---|---|---|---|
RGB | 166 | 198 | 109 |
HSL | 82° | 43.84% | 60.20% |
HSB/HSV | 82° | 44.95% | 77.65% |
CMYK | 16.16% | 0.00% | 44.95% |
22.35% |
HEX | A6 | C6 | 6D |
Decimal | 166 | 198 | 109 |
Binary | 10100110 | 11000110 | 1101101 |
Octal | 246 | 306 | 155 |
Examples of css and html codes for elements with #A6C66D color. Also use rgb(166,198,109) instead hex code.
.myTextColor { color: #A6C66D; }
<p style="color:#A6C66D">This sample text font color is #A6C66D.</p>
This text font color is #A6C66D.
.myBgColor { background-color: #A6C66D; }
<div style="background-color:#A6C66D">Inner text</div>
This div background color is #A6C66D.
.myBorderColor { border: 1px solid #A6C66D; }
<div style="border:3px solid #A6C66D">Div</div>
This div border color is #A6C66D.
.myOpacity80 { color: #A6C66D; opacity: 0.8; }
<p style="color:#A6C66D;opacity:0.8;">80%</p>
Text with #A6C66D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A6C66D;}
<p style="text-shadow: 3px 3px 1px #A6C66D">Text here.</p>
This text has shadow with #A6C66D color.
.textShadow {text-shadow: 3px 3px 1px #A6C66D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A6C66D, 5px 5px 20px red">Text here.</p>
This text has shadow with #A6C66D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A6C66D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A6C66D, Direction=45, Strength=4)">Text</p>
This text has shadow with #A6C66D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A6C66D; -webkit-box-shadow: 1px 1px 3px 2px #A6C66D; box-shadow: 1px 1px 3px 2px #A6C66D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A6C66D; -webkit-box-shadow: 1px 1px 3px 2px #A6C66D; box-shadow:1px 1px 3px 2px #A6C66D;">
Div content here</div>
This text has color #A6C66D on black background.
This text has color #A6C66D on white background.
This text has black color on #A6C66D background.
This text has white color on #A6C66D background.