HEX: #AD8E6C
RGB: (173,142,108)
#AD8E6C contains mainly red and green colors. Web safe color of #AD8E6C is #999966 (or #996).
#AD8E6C color RGB value is (173,142,108).
RGB: (173,142,108) (68%,56%,42%)
R 173 of 255 = 68%
G 142 of 255 = 56%
B 108 of 255 = 42%
R + G + B ~ 55%. #AD8E6C is middle color (not dark and not light).
R + G + B =
173 + 142 + 108 = 423 (100%)
R 173 of 423 ~ 40.9%
G 142 of 423 ~ 33.57%
B 108 of 423 ~ 25.53%
#AD8E6C color CMYK value is (0,18,38,32).
CMYK: (0,18,38,32) C0M18Y38K32 (0%,18%,38%,32%) (0.00/0.18/0.38/0.32)
AD | 8E | 6C | |
---|---|---|---|
RGB | 173 | 142 | 108 |
HSL | 31° | 28.38% | 55.10% |
HSB/HSV | 31° | 37.57% | 67.84% |
CMYK | 0.00% | 17.92% | 37.57% |
32.16% |
HEX | AD | 8E | 6C |
Decimal | 173 | 142 | 108 |
Binary | 10101101 | 10001110 | 1101100 |
Octal | 255 | 216 | 154 |
Examples of css and html codes for elements with #AD8E6C color. Also use rgb(173,142,108) instead hex code.
.myTextColor { color: #AD8E6C; }
<p style="color:#AD8E6C">This sample text font color is #AD8E6C.</p>
This text font color is #AD8E6C.
.myBgColor { background-color: #AD8E6C; }
<div style="background-color:#AD8E6C">Inner text</div>
This div background color is #AD8E6C.
.myBorderColor { border: 1px solid #AD8E6C; }
<div style="border:3px solid #AD8E6C">Div</div>
This div border color is #AD8E6C.
.myOpacity80 { color: #AD8E6C; opacity: 0.8; }
<p style="color:#AD8E6C;opacity:0.8;">80%</p>
Text with #AD8E6C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AD8E6C;}
<p style="text-shadow: 3px 3px 1px #AD8E6C">Text here.</p>
This text has shadow with #AD8E6C color.
.textShadow {text-shadow: 3px 3px 1px #AD8E6C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AD8E6C, 5px 5px 20px red">Text here.</p>
This text has shadow with #AD8E6C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AD8E6C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AD8E6C, Direction=45, Strength=4)">Text</p>
This text has shadow with #AD8E6C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AD8E6C; -webkit-box-shadow: 1px 1px 3px 2px #AD8E6C; box-shadow: 1px 1px 3px 2px #AD8E6C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AD8E6C; -webkit-box-shadow: 1px 1px 3px 2px #AD8E6C; box-shadow:1px 1px 3px 2px #AD8E6C;">
Div content here</div>
This text has color #AD8E6C on black background.
This text has color #AD8E6C on white background.
This text has black color on #AD8E6C background.
This text has white color on #AD8E6C background.