HEX: #A6DB8A
RGB: (166,219,138)
#A6DB8A contains mainly red and green colors. Web safe color of #A6DB8A is #99CC99 (or #9C9).
#A6DB8A color RGB value is (166,219,138).
RGB: (166,219,138) (65%,86%,54%)
R 166 of 255 = 65%
G 219 of 255 = 86%
B 138 of 255 = 54%
R + G + B ~ 68%. #A6DB8A is quite light color.
R + G + B =
166 + 219 + 138 = 523 (100%)
R 166 of 523 ~ 31.74%
G 219 of 523 ~ 41.87%
B 138 of 523 ~ 26.39%
#A6DB8A color CMYK value is (24,0,37,14).
CMYK: (24,0,37,14) C24M0Y37K14 (24%,0%,37%,14%) (0.24/0.00/0.37/0.14)
A6 | DB | 8A | |
---|---|---|---|
RGB | 166 | 219 | 138 |
HSL | 99° | 52.94% | 70.00% |
HSB/HSV | 99° | 36.99% | 85.88% |
CMYK | 24.20% | 0.00% | 36.99% |
14.12% |
HEX | A6 | DB | 8A |
Decimal | 166 | 219 | 138 |
Binary | 10100110 | 11011011 | 10001010 |
Octal | 246 | 333 | 212 |
Examples of css and html codes for elements with #A6DB8A color. Also use rgb(166,219,138) instead hex code.
.myTextColor { color: #A6DB8A; }
<p style="color:#A6DB8A">This sample text font color is #A6DB8A.</p>
This text font color is #A6DB8A.
.myBgColor { background-color: #A6DB8A; }
<div style="background-color:#A6DB8A">Inner text</div>
This div background color is #A6DB8A.
.myBorderColor { border: 1px solid #A6DB8A; }
<div style="border:3px solid #A6DB8A">Div</div>
This div border color is #A6DB8A.
.myOpacity80 { color: #A6DB8A; opacity: 0.8; }
<p style="color:#A6DB8A;opacity:0.8;">80%</p>
Text with #A6DB8A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A6DB8A;}
<p style="text-shadow: 3px 3px 1px #A6DB8A">Text here.</p>
This text has shadow with #A6DB8A color.
.textShadow {text-shadow: 3px 3px 1px #A6DB8A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A6DB8A, 5px 5px 20px red">Text here.</p>
This text has shadow with #A6DB8A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A6DB8A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A6DB8A, Direction=45, Strength=4)">Text</p>
This text has shadow with #A6DB8A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A6DB8A; -webkit-box-shadow: 1px 1px 3px 2px #A6DB8A; box-shadow: 1px 1px 3px 2px #A6DB8A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A6DB8A; -webkit-box-shadow: 1px 1px 3px 2px #A6DB8A; box-shadow:1px 1px 3px 2px #A6DB8A;">
Div content here</div>
This text has color #A6DB8A on black background.
This text has color #A6DB8A on white background.
This text has black color on #A6DB8A background.
This text has white color on #A6DB8A background.