HEX: #AD7E40
RGB: (173,126,64)
#AD7E40 contains mainly red and green colors. Web safe color of #AD7E40 is #996633 (or #963).
#AD7E40 color RGB value is (173,126,64).
RGB: (173,126,64) (68%,49%,25%)
R 173 of 255 = 68%
G 126 of 255 = 49%
B 64 of 255 = 25%
R + G + B ~ 47%. #AD7E40 is middle color (not dark and not light).
R + G + B =
173 + 126 + 64 = 363 (100%)
R 173 of 363 ~ 47.66%
G 126 of 363 ~ 34.71%
B 64 of 363 ~ 17.63%
#AD7E40 color CMYK value is (0,27,63,32).
CMYK: (0,27,63,32) C0M27Y63K32 (0%,27%,63%,32%) (0.00/0.27/0.63/0.32)
AD | 7E | 40 | |
---|---|---|---|
RGB | 173 | 126 | 64 |
HSL | 34° | 45.99% | 46.47% |
HSB/HSV | 34° | 63.01% | 67.84% |
CMYK | 0.00% | 27.17% | 63.01% |
32.16% |
HEX | AD | 7E | 40 |
Decimal | 173 | 126 | 64 |
Binary | 10101101 | 1111110 | 1000000 |
Octal | 255 | 176 | 100 |
Examples of css and html codes for elements with #AD7E40 color. Also use rgb(173,126,64) instead hex code.
.myTextColor { color: #AD7E40; }
<p style="color:#AD7E40">This sample text font color is #AD7E40.</p>
This text font color is #AD7E40.
.myBgColor { background-color: #AD7E40; }
<div style="background-color:#AD7E40">Inner text</div>
This div background color is #AD7E40.
.myBorderColor { border: 1px solid #AD7E40; }
<div style="border:3px solid #AD7E40">Div</div>
This div border color is #AD7E40.
.myOpacity80 { color: #AD7E40; opacity: 0.8; }
<p style="color:#AD7E40;opacity:0.8;">80%</p>
Text with #AD7E40 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AD7E40;}
<p style="text-shadow: 3px 3px 1px #AD7E40">Text here.</p>
This text has shadow with #AD7E40 color.
.textShadow {text-shadow: 3px 3px 1px #AD7E40, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AD7E40, 5px 5px 20px red">Text here.</p>
This text has shadow with #AD7E40 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AD7E40, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AD7E40, Direction=45, Strength=4)">Text</p>
This text has shadow with #AD7E40 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AD7E40; -webkit-box-shadow: 1px 1px 3px 2px #AD7E40; box-shadow: 1px 1px 3px 2px #AD7E40; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AD7E40; -webkit-box-shadow: 1px 1px 3px 2px #AD7E40; box-shadow:1px 1px 3px 2px #AD7E40;">
Div content here</div>
This text has color #AD7E40 on black background.
This text has color #AD7E40 on white background.
This text has black color on #AD7E40 background.
This text has white color on #AD7E40 background.