HEX: #A6C99C
RGB: (166,201,156)
#A6C99C contains red, green and blue colors in about the same proportion. Web safe color of #A6C99C is #99CC99 (or #9C9).
#A6C99C color RGB value is (166,201,156).
RGB: (166,201,156) (65%,79%,61%)
R 166 of 255 = 65%
G 201 of 255 = 79%
B 156 of 255 = 61%
R + G + B ~ 68%. #A6C99C is quite light color.
R + G + B =
166 + 201 + 156 = 523 (100%)
R 166 of 523 ~ 31.74%
G 201 of 523 ~ 38.43%
B 156 of 523 ~ 29.83%
#A6C99C color CMYK value is (17,0,22,21).
CMYK: (17,0,22,21) C17M0Y22K21 (17%,0%,22%,21%) (0.17/0.00/0.22/0.21)
A6 | C9 | 9C | |
---|---|---|---|
RGB | 166 | 201 | 156 |
HSL | 107° | 29.41% | 70.00% |
HSB/HSV | 107° | 22.39% | 78.82% |
CMYK | 17.41% | 0.00% | 22.39% |
21.18% |
HEX | A6 | C9 | 9C |
Decimal | 166 | 201 | 156 |
Binary | 10100110 | 11001001 | 10011100 |
Octal | 246 | 311 | 234 |
Examples of css and html codes for elements with #A6C99C color. Also use rgb(166,201,156) instead hex code.
.myTextColor { color: #A6C99C; }
<p style="color:#A6C99C">This sample text font color is #A6C99C.</p>
This text font color is #A6C99C.
.myBgColor { background-color: #A6C99C; }
<div style="background-color:#A6C99C">Inner text</div>
This div background color is #A6C99C.
.myBorderColor { border: 1px solid #A6C99C; }
<div style="border:3px solid #A6C99C">Div</div>
This div border color is #A6C99C.
.myOpacity80 { color: #A6C99C; opacity: 0.8; }
<p style="color:#A6C99C;opacity:0.8;">80%</p>
Text with #A6C99C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A6C99C;}
<p style="text-shadow: 3px 3px 1px #A6C99C">Text here.</p>
This text has shadow with #A6C99C color.
.textShadow {text-shadow: 3px 3px 1px #A6C99C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A6C99C, 5px 5px 20px red">Text here.</p>
This text has shadow with #A6C99C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A6C99C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A6C99C, Direction=45, Strength=4)">Text</p>
This text has shadow with #A6C99C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A6C99C; -webkit-box-shadow: 1px 1px 3px 2px #A6C99C; box-shadow: 1px 1px 3px 2px #A6C99C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A6C99C; -webkit-box-shadow: 1px 1px 3px 2px #A6C99C; box-shadow:1px 1px 3px 2px #A6C99C;">
Div content here</div>
This text has color #A6C99C on black background.
This text has color #A6C99C on white background.
This text has black color on #A6C99C background.
This text has white color on #A6C99C background.