HEX: #AA9912
RGB: (170,153,18)
#AA9912 contains mainly red and green colors. Web safe color of #AA9912 is #999900 (or #990).
#AA9912 color RGB value is (170,153,18).
RGB: (170,153,18) (67%,60%,7%)
R 170 of 255 = 67%
G 153 of 255 = 60%
B 18 of 255 = 7%
R + G + B ~ 45%. #AA9912 is middle color (not dark and not light).
R + G + B =
170 + 153 + 18 = 341 (100%)
R 170 of 341 ~ 49.85%
G 153 of 341 ~ 44.87%
B 18 of 341 ~ 5.28%
#AA9912 color CMYK value is (0,10,89,33).
CMYK: (0,10,89,33) C0M10Y89K33 (0%,10%,89%,33%) (0.00/0.10/0.89/0.33)
AA | 99 | 12 | |
---|---|---|---|
RGB | 170 | 153 | 18 |
HSL | 53° | 80.85% | 36.86% |
HSB/HSV | 53° | 89.41% | 66.67% |
CMYK | 0.00% | 10.00% | 89.41% |
33.33% |
HEX | AA | 99 | 12 |
Decimal | 170 | 153 | 18 |
Binary | 10101010 | 10011001 | 10010 |
Octal | 252 | 231 | 22 |
Examples of css and html codes for elements with #AA9912 color. Also use rgb(170,153,18) instead hex code.
.myTextColor { color: #AA9912; }
<p style="color:#AA9912">This sample text font color is #AA9912.</p>
This text font color is #AA9912.
.myBgColor { background-color: #AA9912; }
<div style="background-color:#AA9912">Inner text</div>
This div background color is #AA9912.
.myBorderColor { border: 1px solid #AA9912; }
<div style="border:3px solid #AA9912">Div</div>
This div border color is #AA9912.
.myOpacity80 { color: #AA9912; opacity: 0.8; }
<p style="color:#AA9912;opacity:0.8;">80%</p>
Text with #AA9912 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AA9912;}
<p style="text-shadow: 3px 3px 1px #AA9912">Text here.</p>
This text has shadow with #AA9912 color.
.textShadow {text-shadow: 3px 3px 1px #AA9912, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AA9912, 5px 5px 20px red">Text here.</p>
This text has shadow with #AA9912 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AA9912, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AA9912, Direction=45, Strength=4)">Text</p>
This text has shadow with #AA9912 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AA9912; -webkit-box-shadow: 1px 1px 3px 2px #AA9912; box-shadow: 1px 1px 3px 2px #AA9912; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AA9912; -webkit-box-shadow: 1px 1px 3px 2px #AA9912; box-shadow:1px 1px 3px 2px #AA9912;">
Div content here</div>
This text has color #AA9912 on black background.
This text has color #AA9912 on white background.
This text has black color on #AA9912 background.
This text has white color on #AA9912 background.