HEX: #AA7E17
RGB: (170,126,23)
#AA7E17 contains mainly red and green colors. Web safe color of #AA7E17 is #996600 (or #960).
#AA7E17 color RGB value is (170,126,23).
RGB: (170,126,23) (67%,49%,9%)
R 170 of 255 = 67%
G 126 of 255 = 49%
B 23 of 255 = 9%
R + G + B ~ 42%. #AA7E17 is middle color (not dark and not light).
R + G + B =
170 + 126 + 23 = 319 (100%)
R 170 of 319 ~ 53.29%
G 126 of 319 ~ 39.5%
B 23 of 319 ~ 7.21%
#AA7E17 color CMYK value is (0,26,86,33).
CMYK: (0,26,86,33) C0M26Y86K33 (0%,26%,86%,33%) (0.00/0.26/0.86/0.33)
AA | 7E | 17 | |
---|---|---|---|
RGB | 170 | 126 | 23 |
HSL | 42° | 76.17% | 37.84% |
HSB/HSV | 42° | 86.47% | 66.67% |
CMYK | 0.00% | 25.88% | 86.47% |
33.33% |
HEX | AA | 7E | 17 |
Decimal | 170 | 126 | 23 |
Binary | 10101010 | 1111110 | 10111 |
Octal | 252 | 176 | 27 |
Examples of css and html codes for elements with #AA7E17 color. Also use rgb(170,126,23) instead hex code.
.myTextColor { color: #AA7E17; }
<p style="color:#AA7E17">This sample text font color is #AA7E17.</p>
This text font color is #AA7E17.
.myBgColor { background-color: #AA7E17; }
<div style="background-color:#AA7E17">Inner text</div>
This div background color is #AA7E17.
.myBorderColor { border: 1px solid #AA7E17; }
<div style="border:3px solid #AA7E17">Div</div>
This div border color is #AA7E17.
.myOpacity80 { color: #AA7E17; opacity: 0.8; }
<p style="color:#AA7E17;opacity:0.8;">80%</p>
Text with #AA7E17 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AA7E17;}
<p style="text-shadow: 3px 3px 1px #AA7E17">Text here.</p>
This text has shadow with #AA7E17 color.
.textShadow {text-shadow: 3px 3px 1px #AA7E17, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AA7E17, 5px 5px 20px red">Text here.</p>
This text has shadow with #AA7E17 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AA7E17, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AA7E17, Direction=45, Strength=4)">Text</p>
This text has shadow with #AA7E17 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AA7E17; -webkit-box-shadow: 1px 1px 3px 2px #AA7E17; box-shadow: 1px 1px 3px 2px #AA7E17; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AA7E17; -webkit-box-shadow: 1px 1px 3px 2px #AA7E17; box-shadow:1px 1px 3px 2px #AA7E17;">
Div content here</div>
This text has color #AA7E17 on black background.
This text has color #AA7E17 on white background.
This text has black color on #AA7E17 background.
This text has white color on #AA7E17 background.