HEX: #A6F0A8
RGB: (166,240,168)
#A6F0A8 contains mainly green color. Web safe color of #A6F0A8 is #99FF99 (or #9F9).
#A6F0A8 color RGB value is (166,240,168).
RGB: (166,240,168) (65%,94%,66%)
R 166 of 255 = 65%
G 240 of 255 = 94%
B 168 of 255 = 66%
R + G + B ~ 75%. #A6F0A8 is quite light color.
R + G + B =
166 + 240 + 168 = 574 (100%)
R 166 of 574 ~ 28.92%
G 240 of 574 ~ 41.81%
B 168 of 574 ~ 29.27%
#A6F0A8 color CMYK value is (31,0,30,6).
CMYK: (31,0,30,6) C31M0Y30K6 (31%,0%,30%,6%) (0.31/0.00/0.30/0.06)
A6 | F0 | A8 | |
---|---|---|---|
RGB | 166 | 240 | 168 |
HSL | 122° | 71.15% | 79.61% |
HSB/HSV | 122° | 30.83% | 94.12% |
CMYK | 30.83% | 0.00% | 30.00% |
5.88% |
HEX | A6 | F0 | A8 |
Decimal | 166 | 240 | 168 |
Binary | 10100110 | 11110000 | 10101000 |
Octal | 246 | 360 | 250 |
Examples of css and html codes for elements with #A6F0A8 color. Also use rgb(166,240,168) instead hex code.
.myTextColor { color: #A6F0A8; }
<p style="color:#A6F0A8">This sample text font color is #A6F0A8.</p>
This text font color is #A6F0A8.
.myBgColor { background-color: #A6F0A8; }
<div style="background-color:#A6F0A8">Inner text</div>
This div background color is #A6F0A8.
.myBorderColor { border: 1px solid #A6F0A8; }
<div style="border:3px solid #A6F0A8">Div</div>
This div border color is #A6F0A8.
.myOpacity80 { color: #A6F0A8; opacity: 0.8; }
<p style="color:#A6F0A8;opacity:0.8;">80%</p>
Text with #A6F0A8 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A6F0A8;}
<p style="text-shadow: 3px 3px 1px #A6F0A8">Text here.</p>
This text has shadow with #A6F0A8 color.
.textShadow {text-shadow: 3px 3px 1px #A6F0A8, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A6F0A8, 5px 5px 20px red">Text here.</p>
This text has shadow with #A6F0A8 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A6F0A8, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A6F0A8, Direction=45, Strength=4)">Text</p>
This text has shadow with #A6F0A8 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A6F0A8; -webkit-box-shadow: 1px 1px 3px 2px #A6F0A8; box-shadow: 1px 1px 3px 2px #A6F0A8; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A6F0A8; -webkit-box-shadow: 1px 1px 3px 2px #A6F0A8; box-shadow:1px 1px 3px 2px #A6F0A8;">
Div content here</div>
This text has color #A6F0A8 on black background.
This text has color #A6F0A8 on white background.
This text has black color on #A6F0A8 background.
This text has white color on #A6F0A8 background.