HEX: #A6C76A
RGB: (166,199,106)
#A6C76A contains mainly red and green colors. Web safe color of #A6C76A is #99CC66 (or #9C6).
#A6C76A color RGB value is (166,199,106).
RGB: (166,199,106) (65%,78%,42%)
R 166 of 255 = 65%
G 199 of 255 = 78%
B 106 of 255 = 42%
R + G + B ~ 62%. #A6C76A is quite light color.
R + G + B =
166 + 199 + 106 = 471 (100%)
R 166 of 471 ~ 35.24%
G 199 of 471 ~ 42.25%
B 106 of 471 ~ 22.51%
#A6C76A color CMYK value is (17,0,47,22).
CMYK: (17,0,47,22) C17M0Y47K22 (17%,0%,47%,22%) (0.17/0.00/0.47/0.22)
A6 | C7 | 6A | |
---|---|---|---|
RGB | 166 | 199 | 106 |
HSL | 81° | 45.37% | 59.80% |
HSB/HSV | 81° | 46.73% | 78.04% |
CMYK | 16.58% | 0.00% | 46.73% |
21.96% |
HEX | A6 | C7 | 6A |
Decimal | 166 | 199 | 106 |
Binary | 10100110 | 11000111 | 1101010 |
Octal | 246 | 307 | 152 |
Examples of css and html codes for elements with #A6C76A color. Also use rgb(166,199,106) instead hex code.
.myTextColor { color: #A6C76A; }
<p style="color:#A6C76A">This sample text font color is #A6C76A.</p>
This text font color is #A6C76A.
.myBgColor { background-color: #A6C76A; }
<div style="background-color:#A6C76A">Inner text</div>
This div background color is #A6C76A.
.myBorderColor { border: 1px solid #A6C76A; }
<div style="border:3px solid #A6C76A">Div</div>
This div border color is #A6C76A.
.myOpacity80 { color: #A6C76A; opacity: 0.8; }
<p style="color:#A6C76A;opacity:0.8;">80%</p>
Text with #A6C76A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A6C76A;}
<p style="text-shadow: 3px 3px 1px #A6C76A">Text here.</p>
This text has shadow with #A6C76A color.
.textShadow {text-shadow: 3px 3px 1px #A6C76A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A6C76A, 5px 5px 20px red">Text here.</p>
This text has shadow with #A6C76A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A6C76A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A6C76A, Direction=45, Strength=4)">Text</p>
This text has shadow with #A6C76A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A6C76A; -webkit-box-shadow: 1px 1px 3px 2px #A6C76A; box-shadow: 1px 1px 3px 2px #A6C76A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A6C76A; -webkit-box-shadow: 1px 1px 3px 2px #A6C76A; box-shadow:1px 1px 3px 2px #A6C76A;">
Div content here</div>
This text has color #A6C76A on black background.
This text has color #A6C76A on white background.
This text has black color on #A6C76A background.
This text has white color on #A6C76A background.