HEX: #AD7018
RGB: (173,112,24)
#AD7018 contains mainly red color. Web safe color of #AD7018 is #996600 (or #960).
#AD7018 color RGB value is (173,112,24).
RGB: (173,112,24) (68%,44%,9%)
R 173 of 255 = 68%
G 112 of 255 = 44%
B 24 of 255 = 9%
R + G + B ~ 40%. #AD7018 is middle color (not dark and not light).
R + G + B =
173 + 112 + 24 = 309 (100%)
R 173 of 309 ~ 55.99%
G 112 of 309 ~ 36.25%
B 24 of 309 ~ 7.77%
#AD7018 color CMYK value is (0,35,86,32).
CMYK: (0,35,86,32) C0M35Y86K32 (0%,35%,86%,32%) (0.00/0.35/0.86/0.32)
AD | 70 | 18 | |
---|---|---|---|
RGB | 173 | 112 | 24 |
HSL | 35° | 75.63% | 38.63% |
HSB/HSV | 35° | 86.13% | 67.84% |
CMYK | 0.00% | 35.26% | 86.13% |
32.16% |
HEX | AD | 70 | 18 |
Decimal | 173 | 112 | 24 |
Binary | 10101101 | 1110000 | 11000 |
Octal | 255 | 160 | 30 |
Examples of css and html codes for elements with #AD7018 color. Also use rgb(173,112,24) instead hex code.
.myTextColor { color: #AD7018; }
<p style="color:#AD7018">This sample text font color is #AD7018.</p>
This text font color is #AD7018.
.myBgColor { background-color: #AD7018; }
<div style="background-color:#AD7018">Inner text</div>
This div background color is #AD7018.
.myBorderColor { border: 1px solid #AD7018; }
<div style="border:3px solid #AD7018">Div</div>
This div border color is #AD7018.
.myOpacity80 { color: #AD7018; opacity: 0.8; }
<p style="color:#AD7018;opacity:0.8;">80%</p>
Text with #AD7018 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AD7018;}
<p style="text-shadow: 3px 3px 1px #AD7018">Text here.</p>
This text has shadow with #AD7018 color.
.textShadow {text-shadow: 3px 3px 1px #AD7018, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AD7018, 5px 5px 20px red">Text here.</p>
This text has shadow with #AD7018 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AD7018, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AD7018, Direction=45, Strength=4)">Text</p>
This text has shadow with #AD7018 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AD7018; -webkit-box-shadow: 1px 1px 3px 2px #AD7018; box-shadow: 1px 1px 3px 2px #AD7018; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AD7018; -webkit-box-shadow: 1px 1px 3px 2px #AD7018; box-shadow:1px 1px 3px 2px #AD7018;">
Div content here</div>
This text has color #AD7018 on black background.
This text has color #AD7018 on white background.
This text has black color on #AD7018 background.
This text has white color on #AD7018 background.