HEX: #A4D921
RGB: (164,217,33)
#A4D921 contains mainly red and green colors. Web safe color of #A4D921 is #99CC33 (or #9C3).
#A4D921 color RGB value is (164,217,33).
RGB: (164,217,33) (64%,85%,13%)
R 164 of 255 = 64%
G 217 of 255 = 85%
B 33 of 255 = 13%
R + G + B ~ 54%. #A4D921 is middle color (not dark and not light).
R + G + B =
164 + 217 + 33 = 414 (100%)
R 164 of 414 ~ 39.61%
G 217 of 414 ~ 52.42%
B 33 of 414 ~ 7.97%
#A4D921 color CMYK value is (24,0,85,15).
CMYK: (24,0,85,15) C24M0Y85K15 (24%,0%,85%,15%) (0.24/0.00/0.85/0.15)
A4 | D9 | 21 | |
---|---|---|---|
RGB | 164 | 217 | 33 |
HSL | 77° | 73.60% | 49.02% |
HSB/HSV | 77° | 84.79% | 85.10% |
CMYK | 24.42% | 0.00% | 84.79% |
14.90% |
HEX | A4 | D9 | 21 |
Decimal | 164 | 217 | 33 |
Binary | 10100100 | 11011001 | 100001 |
Octal | 244 | 331 | 41 |
Examples of css and html codes for elements with #A4D921 color. Also use rgb(164,217,33) instead hex code.
.myTextColor { color: #A4D921; }
<p style="color:#A4D921">This sample text font color is #A4D921.</p>
This text font color is #A4D921.
.myBgColor { background-color: #A4D921; }
<div style="background-color:#A4D921">Inner text</div>
This div background color is #A4D921.
.myBorderColor { border: 1px solid #A4D921; }
<div style="border:3px solid #A4D921">Div</div>
This div border color is #A4D921.
.myOpacity80 { color: #A4D921; opacity: 0.8; }
<p style="color:#A4D921;opacity:0.8;">80%</p>
Text with #A4D921 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A4D921;}
<p style="text-shadow: 3px 3px 1px #A4D921">Text here.</p>
This text has shadow with #A4D921 color.
.textShadow {text-shadow: 3px 3px 1px #A4D921, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A4D921, 5px 5px 20px red">Text here.</p>
This text has shadow with #A4D921 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A4D921, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A4D921, Direction=45, Strength=4)">Text</p>
This text has shadow with #A4D921 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A4D921; -webkit-box-shadow: 1px 1px 3px 2px #A4D921; box-shadow: 1px 1px 3px 2px #A4D921; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A4D921; -webkit-box-shadow: 1px 1px 3px 2px #A4D921; box-shadow:1px 1px 3px 2px #A4D921;">
Div content here</div>
This text has color #A4D921 on black background.
This text has color #A4D921 on white background.
This text has black color on #A4D921 background.
This text has white color on #A4D921 background.