HEX: #A6C59C
RGB: (166,197,156)
#A6C59C contains red, green and blue colors in about the same proportion. Web safe color of #A6C59C is #99CC99 (or #9C9).
#A6C59C color RGB value is (166,197,156).
RGB: (166,197,156) (65%,77%,61%)
R 166 of 255 = 65%
G 197 of 255 = 77%
B 156 of 255 = 61%
R + G + B ~ 68%. #A6C59C is quite light color.
R + G + B =
166 + 197 + 156 = 519 (100%)
R 166 of 519 ~ 31.98%
G 197 of 519 ~ 37.96%
B 156 of 519 ~ 30.06%
#A6C59C color CMYK value is (16,0,21,23).
CMYK: (16,0,21,23) C16M0Y21K23 (16%,0%,21%,23%) (0.16/0.00/0.21/0.23)
A6 | C5 | 9C | |
---|---|---|---|
RGB | 166 | 197 | 156 |
HSL | 105° | 26.11% | 69.22% |
HSB/HSV | 105° | 20.81% | 77.25% |
CMYK | 15.74% | 0.00% | 20.81% |
22.75% |
HEX | A6 | C5 | 9C |
Decimal | 166 | 197 | 156 |
Binary | 10100110 | 11000101 | 10011100 |
Octal | 246 | 305 | 234 |
Examples of css and html codes for elements with #A6C59C color. Also use rgb(166,197,156) instead hex code.
.myTextColor { color: #A6C59C; }
<p style="color:#A6C59C">This sample text font color is #A6C59C.</p>
This text font color is #A6C59C.
.myBgColor { background-color: #A6C59C; }
<div style="background-color:#A6C59C">Inner text</div>
This div background color is #A6C59C.
.myBorderColor { border: 1px solid #A6C59C; }
<div style="border:3px solid #A6C59C">Div</div>
This div border color is #A6C59C.
.myOpacity80 { color: #A6C59C; opacity: 0.8; }
<p style="color:#A6C59C;opacity:0.8;">80%</p>
Text with #A6C59C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A6C59C;}
<p style="text-shadow: 3px 3px 1px #A6C59C">Text here.</p>
This text has shadow with #A6C59C color.
.textShadow {text-shadow: 3px 3px 1px #A6C59C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A6C59C, 5px 5px 20px red">Text here.</p>
This text has shadow with #A6C59C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A6C59C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A6C59C, Direction=45, Strength=4)">Text</p>
This text has shadow with #A6C59C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A6C59C; -webkit-box-shadow: 1px 1px 3px 2px #A6C59C; box-shadow: 1px 1px 3px 2px #A6C59C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A6C59C; -webkit-box-shadow: 1px 1px 3px 2px #A6C59C; box-shadow:1px 1px 3px 2px #A6C59C;">
Div content here</div>
This text has color #A6C59C on black background.
This text has color #A6C59C on white background.
This text has black color on #A6C59C background.
This text has white color on #A6C59C background.