HEX: #A6CC6F
RGB: (166,204,111)
#A6CC6F contains mainly red and green colors. Web safe color of #A6CC6F is #99CC66 (or #9C6).
#A6CC6F color RGB value is (166,204,111).
RGB: (166,204,111) (65%,80%,44%)
R 166 of 255 = 65%
G 204 of 255 = 80%
B 111 of 255 = 44%
R + G + B ~ 63%. #A6CC6F is quite light color.
R + G + B =
166 + 204 + 111 = 481 (100%)
R 166 of 481 ~ 34.51%
G 204 of 481 ~ 42.41%
B 111 of 481 ~ 23.08%
#A6CC6F color CMYK value is (19,0,46,20).
CMYK: (19,0,46,20) C19M0Y46K20 (19%,0%,46%,20%) (0.19/0.00/0.46/0.20)
A6 | CC | 6F | |
---|---|---|---|
RGB | 166 | 204 | 111 |
HSL | 85° | 47.69% | 61.76% |
HSB/HSV | 85° | 45.59% | 80.00% |
CMYK | 18.63% | 0.00% | 45.59% |
20.00% |
HEX | A6 | CC | 6F |
Decimal | 166 | 204 | 111 |
Binary | 10100110 | 11001100 | 1101111 |
Octal | 246 | 314 | 157 |
Examples of css and html codes for elements with #A6CC6F color. Also use rgb(166,204,111) instead hex code.
.myTextColor { color: #A6CC6F; }
<p style="color:#A6CC6F">This sample text font color is #A6CC6F.</p>
This text font color is #A6CC6F.
.myBgColor { background-color: #A6CC6F; }
<div style="background-color:#A6CC6F">Inner text</div>
This div background color is #A6CC6F.
.myBorderColor { border: 1px solid #A6CC6F; }
<div style="border:3px solid #A6CC6F">Div</div>
This div border color is #A6CC6F.
.myOpacity80 { color: #A6CC6F; opacity: 0.8; }
<p style="color:#A6CC6F;opacity:0.8;">80%</p>
Text with #A6CC6F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A6CC6F;}
<p style="text-shadow: 3px 3px 1px #A6CC6F">Text here.</p>
This text has shadow with #A6CC6F color.
.textShadow {text-shadow: 3px 3px 1px #A6CC6F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A6CC6F, 5px 5px 20px red">Text here.</p>
This text has shadow with #A6CC6F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A6CC6F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A6CC6F, Direction=45, Strength=4)">Text</p>
This text has shadow with #A6CC6F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A6CC6F; -webkit-box-shadow: 1px 1px 3px 2px #A6CC6F; box-shadow: 1px 1px 3px 2px #A6CC6F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A6CC6F; -webkit-box-shadow: 1px 1px 3px 2px #A6CC6F; box-shadow:1px 1px 3px 2px #A6CC6F;">
Div content here</div>
This text has color #A6CC6F on black background.
This text has color #A6CC6F on white background.
This text has black color on #A6CC6F background.
This text has white color on #A6CC6F background.