HEX: #A4D970
RGB: (164,217,112)
#A4D970 contains mainly red and green colors. Web safe color of #A4D970 is #99CC66 (or #9C6).
#A4D970 color RGB value is (164,217,112).
RGB: (164,217,112) (64%,85%,44%)
R 164 of 255 = 64%
G 217 of 255 = 85%
B 112 of 255 = 44%
R + G + B ~ 64%. #A4D970 is quite light color.
R + G + B =
164 + 217 + 112 = 493 (100%)
R 164 of 493 ~ 33.27%
G 217 of 493 ~ 44.02%
B 112 of 493 ~ 22.72%
#A4D970 color CMYK value is (24,0,48,15).
CMYK: (24,0,48,15) C24M0Y48K15 (24%,0%,48%,15%) (0.24/0.00/0.48/0.15)
A4 | D9 | 70 | |
---|---|---|---|
RGB | 164 | 217 | 112 |
HSL | 90° | 58.01% | 64.51% |
HSB/HSV | 90° | 48.39% | 85.10% |
CMYK | 24.42% | 0.00% | 48.39% |
14.90% |
HEX | A4 | D9 | 70 |
Decimal | 164 | 217 | 112 |
Binary | 10100100 | 11011001 | 1110000 |
Octal | 244 | 331 | 160 |
Examples of css and html codes for elements with #A4D970 color. Also use rgb(164,217,112) instead hex code.
.myTextColor { color: #A4D970; }
<p style="color:#A4D970">This sample text font color is #A4D970.</p>
This text font color is #A4D970.
.myBgColor { background-color: #A4D970; }
<div style="background-color:#A4D970">Inner text</div>
This div background color is #A4D970.
.myBorderColor { border: 1px solid #A4D970; }
<div style="border:3px solid #A4D970">Div</div>
This div border color is #A4D970.
.myOpacity80 { color: #A4D970; opacity: 0.8; }
<p style="color:#A4D970;opacity:0.8;">80%</p>
Text with #A4D970 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A4D970;}
<p style="text-shadow: 3px 3px 1px #A4D970">Text here.</p>
This text has shadow with #A4D970 color.
.textShadow {text-shadow: 3px 3px 1px #A4D970, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A4D970, 5px 5px 20px red">Text here.</p>
This text has shadow with #A4D970 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A4D970, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A4D970, Direction=45, Strength=4)">Text</p>
This text has shadow with #A4D970 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A4D970; -webkit-box-shadow: 1px 1px 3px 2px #A4D970; box-shadow: 1px 1px 3px 2px #A4D970; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A4D970; -webkit-box-shadow: 1px 1px 3px 2px #A4D970; box-shadow:1px 1px 3px 2px #A4D970;">
Div content here</div>
This text has color #A4D970 on black background.
This text has color #A4D970 on white background.
This text has black color on #A4D970 background.
This text has white color on #A4D970 background.