HEX: #A6C87E
RGB: (166,200,126)
#A6C87E contains mainly red and green colors. Web safe color of #A6C87E is #99CC66 (or #9C6).
#A6C87E color RGB value is (166,200,126).
RGB: (166,200,126) (65%,78%,49%)
R 166 of 255 = 65%
G 200 of 255 = 78%
B 126 of 255 = 49%
R + G + B ~ 64%. #A6C87E is quite light color.
R + G + B =
166 + 200 + 126 = 492 (100%)
R 166 of 492 ~ 33.74%
G 200 of 492 ~ 40.65%
B 126 of 492 ~ 25.61%
#A6C87E color CMYK value is (17,0,37,22).
CMYK: (17,0,37,22) C17M0Y37K22 (17%,0%,37%,22%) (0.17/0.00/0.37/0.22)
A6 | C8 | 7E | |
---|---|---|---|
RGB | 166 | 200 | 126 |
HSL | 88° | 40.22% | 63.92% |
HSB/HSV | 88° | 37.00% | 78.43% |
CMYK | 17.00% | 0.00% | 37.00% |
21.57% |
HEX | A6 | C8 | 7E |
Decimal | 166 | 200 | 126 |
Binary | 10100110 | 11001000 | 1111110 |
Octal | 246 | 310 | 176 |
Examples of css and html codes for elements with #A6C87E color. Also use rgb(166,200,126) instead hex code.
.myTextColor { color: #A6C87E; }
<p style="color:#A6C87E">This sample text font color is #A6C87E.</p>
This text font color is #A6C87E.
.myBgColor { background-color: #A6C87E; }
<div style="background-color:#A6C87E">Inner text</div>
This div background color is #A6C87E.
.myBorderColor { border: 1px solid #A6C87E; }
<div style="border:3px solid #A6C87E">Div</div>
This div border color is #A6C87E.
.myOpacity80 { color: #A6C87E; opacity: 0.8; }
<p style="color:#A6C87E;opacity:0.8;">80%</p>
Text with #A6C87E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A6C87E;}
<p style="text-shadow: 3px 3px 1px #A6C87E">Text here.</p>
This text has shadow with #A6C87E color.
.textShadow {text-shadow: 3px 3px 1px #A6C87E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A6C87E, 5px 5px 20px red">Text here.</p>
This text has shadow with #A6C87E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A6C87E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A6C87E, Direction=45, Strength=4)">Text</p>
This text has shadow with #A6C87E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A6C87E; -webkit-box-shadow: 1px 1px 3px 2px #A6C87E; box-shadow: 1px 1px 3px 2px #A6C87E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A6C87E; -webkit-box-shadow: 1px 1px 3px 2px #A6C87E; box-shadow:1px 1px 3px 2px #A6C87E;">
Div content here</div>
This text has color #A6C87E on black background.
This text has color #A6C87E on white background.
This text has black color on #A6C87E background.
This text has white color on #A6C87E background.