HEX: #AD7D17
RGB: (173,125,23)
#AD7D17 contains mainly red and green colors. Web safe color of #AD7D17 is #996600 (or #960).
#AD7D17 color RGB value is (173,125,23).
RGB: (173,125,23) (68%,49%,9%)
R 173 of 255 = 68%
G 125 of 255 = 49%
B 23 of 255 = 9%
R + G + B ~ 42%. #AD7D17 is middle color (not dark and not light).
R + G + B =
173 + 125 + 23 = 321 (100%)
R 173 of 321 ~ 53.89%
G 125 of 321 ~ 38.94%
B 23 of 321 ~ 7.17%
#AD7D17 color CMYK value is (0,28,87,32).
CMYK: (0,28,87,32) C0M28Y87K32 (0%,28%,87%,32%) (0.00/0.28/0.87/0.32)
AD | 7D | 17 | |
---|---|---|---|
RGB | 173 | 125 | 23 |
HSL | 41° | 76.53% | 38.43% |
HSB/HSV | 41° | 86.71% | 67.84% |
CMYK | 0.00% | 27.75% | 86.71% |
32.16% |
HEX | AD | 7D | 17 |
Decimal | 173 | 125 | 23 |
Binary | 10101101 | 1111101 | 10111 |
Octal | 255 | 175 | 27 |
Examples of css and html codes for elements with #AD7D17 color. Also use rgb(173,125,23) instead hex code.
.myTextColor { color: #AD7D17; }
<p style="color:#AD7D17">This sample text font color is #AD7D17.</p>
This text font color is #AD7D17.
.myBgColor { background-color: #AD7D17; }
<div style="background-color:#AD7D17">Inner text</div>
This div background color is #AD7D17.
.myBorderColor { border: 1px solid #AD7D17; }
<div style="border:3px solid #AD7D17">Div</div>
This div border color is #AD7D17.
.myOpacity80 { color: #AD7D17; opacity: 0.8; }
<p style="color:#AD7D17;opacity:0.8;">80%</p>
Text with #AD7D17 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AD7D17;}
<p style="text-shadow: 3px 3px 1px #AD7D17">Text here.</p>
This text has shadow with #AD7D17 color.
.textShadow {text-shadow: 3px 3px 1px #AD7D17, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AD7D17, 5px 5px 20px red">Text here.</p>
This text has shadow with #AD7D17 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AD7D17, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AD7D17, Direction=45, Strength=4)">Text</p>
This text has shadow with #AD7D17 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AD7D17; -webkit-box-shadow: 1px 1px 3px 2px #AD7D17; box-shadow: 1px 1px 3px 2px #AD7D17; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AD7D17; -webkit-box-shadow: 1px 1px 3px 2px #AD7D17; box-shadow:1px 1px 3px 2px #AD7D17;">
Div content here</div>
This text has color #AD7D17 on black background.
This text has color #AD7D17 on white background.
This text has black color on #AD7D17 background.
This text has white color on #AD7D17 background.