HEX: #A0CC21
RGB: (160,204,33)
#A0CC21 contains mainly red and green colors. Web safe color of #A0CC21 is #99CC33 (or #9C3).
#A0CC21 color RGB value is (160,204,33).
RGB: (160,204,33) (63%,80%,13%)
R 160 of 255 = 63%
G 204 of 255 = 80%
B 33 of 255 = 13%
R + G + B ~ 52%. #A0CC21 is middle color (not dark and not light).
R + G + B =
160 + 204 + 33 = 397 (100%)
R 160 of 397 ~ 40.3%
G 204 of 397 ~ 51.39%
B 33 of 397 ~ 8.31%
#A0CC21 color CMYK value is (22,0,84,20).
CMYK: (22,0,84,20) C22M0Y84K20 (22%,0%,84%,20%) (0.22/0.00/0.84/0.20)
A0 | CC | 21 | |
---|---|---|---|
RGB | 160 | 204 | 33 |
HSL | 75° | 72.15% | 46.47% |
HSB/HSV | 75° | 83.82% | 80.00% |
CMYK | 21.57% | 0.00% | 83.82% |
20.00% |
HEX | A0 | CC | 21 |
Decimal | 160 | 204 | 33 |
Binary | 10100000 | 11001100 | 100001 |
Octal | 240 | 314 | 41 |
Examples of css and html codes for elements with #A0CC21 color. Also use rgb(160,204,33) instead hex code.
.myTextColor { color: #A0CC21; }
<p style="color:#A0CC21">This sample text font color is #A0CC21.</p>
This text font color is #A0CC21.
.myBgColor { background-color: #A0CC21; }
<div style="background-color:#A0CC21">Inner text</div>
This div background color is #A0CC21.
.myBorderColor { border: 1px solid #A0CC21; }
<div style="border:3px solid #A0CC21">Div</div>
This div border color is #A0CC21.
.myOpacity80 { color: #A0CC21; opacity: 0.8; }
<p style="color:#A0CC21;opacity:0.8;">80%</p>
Text with #A0CC21 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A0CC21;}
<p style="text-shadow: 3px 3px 1px #A0CC21">Text here.</p>
This text has shadow with #A0CC21 color.
.textShadow {text-shadow: 3px 3px 1px #A0CC21, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A0CC21, 5px 5px 20px red">Text here.</p>
This text has shadow with #A0CC21 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A0CC21, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A0CC21, Direction=45, Strength=4)">Text</p>
This text has shadow with #A0CC21 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A0CC21; -webkit-box-shadow: 1px 1px 3px 2px #A0CC21; box-shadow: 1px 1px 3px 2px #A0CC21; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A0CC21; -webkit-box-shadow: 1px 1px 3px 2px #A0CC21; box-shadow:1px 1px 3px 2px #A0CC21;">
Div content here</div>
This text has color #A0CC21 on black background.
This text has color #A0CC21 on white background.
This text has black color on #A0CC21 background.
This text has white color on #A0CC21 background.