HEX: #AACC0F
RGB: (170,204,15)
#AACC0F contains mainly red and green colors. Web safe color of #AACC0F is #99CC00 (or #9C0).
#AACC0F color RGB value is (170,204,15).
RGB: (170,204,15) (67%,80%,6%)
R 170 of 255 = 67%
G 204 of 255 = 80%
B 15 of 255 = 6%
R + G + B ~ 51%. #AACC0F is middle color (not dark and not light).
R + G + B =
170 + 204 + 15 = 389 (100%)
R 170 of 389 ~ 43.7%
G 204 of 389 ~ 52.44%
B 15 of 389 ~ 3.86%
#AACC0F color CMYK value is (17,0,93,20).
CMYK: (17,0,93,20) C17M0Y93K20 (17%,0%,93%,20%) (0.17/0.00/0.93/0.20)
AA | CC | 0F | |
---|---|---|---|
RGB | 170 | 204 | 15 |
HSL | 71° | 86.30% | 42.94% |
HSB/HSV | 71° | 92.65% | 80.00% |
CMYK | 16.67% | 0.00% | 92.65% |
20.00% |
HEX | AA | CC | 0F |
Decimal | 170 | 204 | 15 |
Binary | 10101010 | 11001100 | 1111 |
Octal | 252 | 314 | 17 |
Examples of css and html codes for elements with #AACC0F color. Also use rgb(170,204,15) instead hex code.
.myTextColor { color: #AACC0F; }
<p style="color:#AACC0F">This sample text font color is #AACC0F.</p>
This text font color is #AACC0F.
.myBgColor { background-color: #AACC0F; }
<div style="background-color:#AACC0F">Inner text</div>
This div background color is #AACC0F.
.myBorderColor { border: 1px solid #AACC0F; }
<div style="border:3px solid #AACC0F">Div</div>
This div border color is #AACC0F.
.myOpacity80 { color: #AACC0F; opacity: 0.8; }
<p style="color:#AACC0F;opacity:0.8;">80%</p>
Text with #AACC0F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AACC0F;}
<p style="text-shadow: 3px 3px 1px #AACC0F">Text here.</p>
This text has shadow with #AACC0F color.
.textShadow {text-shadow: 3px 3px 1px #AACC0F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AACC0F, 5px 5px 20px red">Text here.</p>
This text has shadow with #AACC0F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AACC0F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AACC0F, Direction=45, Strength=4)">Text</p>
This text has shadow with #AACC0F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AACC0F; -webkit-box-shadow: 1px 1px 3px 2px #AACC0F; box-shadow: 1px 1px 3px 2px #AACC0F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AACC0F; -webkit-box-shadow: 1px 1px 3px 2px #AACC0F; box-shadow:1px 1px 3px 2px #AACC0F;">
Div content here</div>
This text has color #AACC0F on black background.
This text has color #AACC0F on white background.
This text has black color on #AACC0F background.
This text has white color on #AACC0F background.