HEX: #A6D989
RGB: (166,217,137)
#A6D989 contains mainly red and green colors. Web safe color of #A6D989 is #99CC99 (or #9C9).
#A6D989 color RGB value is (166,217,137).
RGB: (166,217,137) (65%,85%,54%)
R 166 of 255 = 65%
G 217 of 255 = 85%
B 137 of 255 = 54%
R + G + B ~ 68%. #A6D989 is quite light color.
R + G + B =
166 + 217 + 137 = 520 (100%)
R 166 of 520 ~ 31.92%
G 217 of 520 ~ 41.73%
B 137 of 520 ~ 26.35%
#A6D989 color CMYK value is (24,0,37,15).
CMYK: (24,0,37,15) C24M0Y37K15 (24%,0%,37%,15%) (0.24/0.00/0.37/0.15)
A6 | D9 | 89 | |
---|---|---|---|
RGB | 166 | 217 | 137 |
HSL | 98° | 51.28% | 69.41% |
HSB/HSV | 98° | 36.87% | 85.10% |
CMYK | 23.50% | 0.00% | 36.87% |
14.90% |
HEX | A6 | D9 | 89 |
Decimal | 166 | 217 | 137 |
Binary | 10100110 | 11011001 | 10001001 |
Octal | 246 | 331 | 211 |
Examples of css and html codes for elements with #A6D989 color. Also use rgb(166,217,137) instead hex code.
.myTextColor { color: #A6D989; }
<p style="color:#A6D989">This sample text font color is #A6D989.</p>
This text font color is #A6D989.
.myBgColor { background-color: #A6D989; }
<div style="background-color:#A6D989">Inner text</div>
This div background color is #A6D989.
.myBorderColor { border: 1px solid #A6D989; }
<div style="border:3px solid #A6D989">Div</div>
This div border color is #A6D989.
.myOpacity80 { color: #A6D989; opacity: 0.8; }
<p style="color:#A6D989;opacity:0.8;">80%</p>
Text with #A6D989 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A6D989;}
<p style="text-shadow: 3px 3px 1px #A6D989">Text here.</p>
This text has shadow with #A6D989 color.
.textShadow {text-shadow: 3px 3px 1px #A6D989, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A6D989, 5px 5px 20px red">Text here.</p>
This text has shadow with #A6D989 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A6D989, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A6D989, Direction=45, Strength=4)">Text</p>
This text has shadow with #A6D989 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A6D989; -webkit-box-shadow: 1px 1px 3px 2px #A6D989; box-shadow: 1px 1px 3px 2px #A6D989; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A6D989; -webkit-box-shadow: 1px 1px 3px 2px #A6D989; box-shadow:1px 1px 3px 2px #A6D989;">
Div content here</div>
This text has color #A6D989 on black background.
This text has color #A6D989 on white background.
This text has black color on #A6D989 background.
This text has white color on #A6D989 background.