HEX: #AD7F38
RGB: (173,127,56)
#AD7F38 contains mainly red and green colors. Web safe color of #AD7F38 is #996633 (or #963).
#AD7F38 color RGB value is (173,127,56).
RGB: (173,127,56) (68%,50%,22%)
R 173 of 255 = 68%
G 127 of 255 = 50%
B 56 of 255 = 22%
R + G + B ~ 47%. #AD7F38 is middle color (not dark and not light).
R + G + B =
173 + 127 + 56 = 356 (100%)
R 173 of 356 ~ 48.6%
G 127 of 356 ~ 35.67%
B 56 of 356 ~ 15.73%
#AD7F38 color CMYK value is (0,27,68,32).
CMYK: (0,27,68,32) C0M27Y68K32 (0%,27%,68%,32%) (0.00/0.27/0.68/0.32)
AD | 7F | 38 | |
---|---|---|---|
RGB | 173 | 127 | 56 |
HSL | 36° | 51.09% | 44.90% |
HSB/HSV | 36° | 67.63% | 67.84% |
CMYK | 0.00% | 26.59% | 67.63% |
32.16% |
HEX | AD | 7F | 38 |
Decimal | 173 | 127 | 56 |
Binary | 10101101 | 1111111 | 111000 |
Octal | 255 | 177 | 70 |
Examples of css and html codes for elements with #AD7F38 color. Also use rgb(173,127,56) instead hex code.
.myTextColor { color: #AD7F38; }
<p style="color:#AD7F38">This sample text font color is #AD7F38.</p>
This text font color is #AD7F38.
.myBgColor { background-color: #AD7F38; }
<div style="background-color:#AD7F38">Inner text</div>
This div background color is #AD7F38.
.myBorderColor { border: 1px solid #AD7F38; }
<div style="border:3px solid #AD7F38">Div</div>
This div border color is #AD7F38.
.myOpacity80 { color: #AD7F38; opacity: 0.8; }
<p style="color:#AD7F38;opacity:0.8;">80%</p>
Text with #AD7F38 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AD7F38;}
<p style="text-shadow: 3px 3px 1px #AD7F38">Text here.</p>
This text has shadow with #AD7F38 color.
.textShadow {text-shadow: 3px 3px 1px #AD7F38, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AD7F38, 5px 5px 20px red">Text here.</p>
This text has shadow with #AD7F38 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AD7F38, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AD7F38, Direction=45, Strength=4)">Text</p>
This text has shadow with #AD7F38 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AD7F38; -webkit-box-shadow: 1px 1px 3px 2px #AD7F38; box-shadow: 1px 1px 3px 2px #AD7F38; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AD7F38; -webkit-box-shadow: 1px 1px 3px 2px #AD7F38; box-shadow:1px 1px 3px 2px #AD7F38;">
Div content here</div>
This text has color #AD7F38 on black background.
This text has color #AD7F38 on white background.
This text has black color on #AD7F38 background.
This text has white color on #AD7F38 background.