HEX: #A6D57C
RGB: (166,213,124)
#A6D57C contains mainly red and green colors. Web safe color of #A6D57C is #99CC66 (or #9C6).
#A6D57C color RGB value is (166,213,124).
RGB: (166,213,124) (65%,84%,49%)
R 166 of 255 = 65%
G 213 of 255 = 84%
B 124 of 255 = 49%
R + G + B ~ 66%. #A6D57C is quite light color.
R + G + B =
166 + 213 + 124 = 503 (100%)
R 166 of 503 ~ 33%
G 213 of 503 ~ 42.35%
B 124 of 503 ~ 24.65%
#A6D57C color CMYK value is (22,0,42,16).
CMYK: (22,0,42,16) C22M0Y42K16 (22%,0%,42%,16%) (0.22/0.00/0.42/0.16)
A6 | D5 | 7C | |
---|---|---|---|
RGB | 166 | 213 | 124 |
HSL | 92° | 51.45% | 66.08% |
HSB/HSV | 92° | 41.78% | 83.53% |
CMYK | 22.07% | 0.00% | 41.78% |
16.47% |
HEX | A6 | D5 | 7C |
Decimal | 166 | 213 | 124 |
Binary | 10100110 | 11010101 | 1111100 |
Octal | 246 | 325 | 174 |
Examples of css and html codes for elements with #A6D57C color. Also use rgb(166,213,124) instead hex code.
.myTextColor { color: #A6D57C; }
<p style="color:#A6D57C">This sample text font color is #A6D57C.</p>
This text font color is #A6D57C.
.myBgColor { background-color: #A6D57C; }
<div style="background-color:#A6D57C">Inner text</div>
This div background color is #A6D57C.
.myBorderColor { border: 1px solid #A6D57C; }
<div style="border:3px solid #A6D57C">Div</div>
This div border color is #A6D57C.
.myOpacity80 { color: #A6D57C; opacity: 0.8; }
<p style="color:#A6D57C;opacity:0.8;">80%</p>
Text with #A6D57C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A6D57C;}
<p style="text-shadow: 3px 3px 1px #A6D57C">Text here.</p>
This text has shadow with #A6D57C color.
.textShadow {text-shadow: 3px 3px 1px #A6D57C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A6D57C, 5px 5px 20px red">Text here.</p>
This text has shadow with #A6D57C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A6D57C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A6D57C, Direction=45, Strength=4)">Text</p>
This text has shadow with #A6D57C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A6D57C; -webkit-box-shadow: 1px 1px 3px 2px #A6D57C; box-shadow: 1px 1px 3px 2px #A6D57C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A6D57C; -webkit-box-shadow: 1px 1px 3px 2px #A6D57C; box-shadow:1px 1px 3px 2px #A6D57C;">
Div content here</div>
This text has color #A6D57C on black background.
This text has color #A6D57C on white background.
This text has black color on #A6D57C background.
This text has white color on #A6D57C background.