HEX: #A87D16
RGB: (168,125,22)
#A87D16 contains mainly red and green colors. Web safe color of #A87D16 is #996600 (or #960).
#A87D16 color RGB value is (168,125,22).
RGB: (168,125,22) (66%,49%,9%)
R 168 of 255 = 66%
G 125 of 255 = 49%
B 22 of 255 = 9%
R + G + B ~ 41%. #A87D16 is middle color (not dark and not light).
R + G + B =
168 + 125 + 22 = 315 (100%)
R 168 of 315 ~ 53.33%
G 125 of 315 ~ 39.68%
B 22 of 315 ~ 6.98%
#A87D16 color CMYK value is (0,26,87,34).
CMYK: (0,26,87,34) C0M26Y87K34 (0%,26%,87%,34%) (0.00/0.26/0.87/0.34)
A8 | 7D | 16 | |
---|---|---|---|
RGB | 168 | 125 | 22 |
HSL | 42° | 76.84% | 37.25% |
HSB/HSV | 42° | 86.90% | 65.88% |
CMYK | 0.00% | 25.60% | 86.90% |
34.12% |
HEX | A8 | 7D | 16 |
Decimal | 168 | 125 | 22 |
Binary | 10101000 | 1111101 | 10110 |
Octal | 250 | 175 | 26 |
Examples of css and html codes for elements with #A87D16 color. Also use rgb(168,125,22) instead hex code.
.myTextColor { color: #A87D16; }
<p style="color:#A87D16">This sample text font color is #A87D16.</p>
This text font color is #A87D16.
.myBgColor { background-color: #A87D16; }
<div style="background-color:#A87D16">Inner text</div>
This div background color is #A87D16.
.myBorderColor { border: 1px solid #A87D16; }
<div style="border:3px solid #A87D16">Div</div>
This div border color is #A87D16.
.myOpacity80 { color: #A87D16; opacity: 0.8; }
<p style="color:#A87D16;opacity:0.8;">80%</p>
Text with #A87D16 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A87D16;}
<p style="text-shadow: 3px 3px 1px #A87D16">Text here.</p>
This text has shadow with #A87D16 color.
.textShadow {text-shadow: 3px 3px 1px #A87D16, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A87D16, 5px 5px 20px red">Text here.</p>
This text has shadow with #A87D16 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A87D16, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A87D16, Direction=45, Strength=4)">Text</p>
This text has shadow with #A87D16 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A87D16; -webkit-box-shadow: 1px 1px 3px 2px #A87D16; box-shadow: 1px 1px 3px 2px #A87D16; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A87D16; -webkit-box-shadow: 1px 1px 3px 2px #A87D16; box-shadow:1px 1px 3px 2px #A87D16;">
Div content here</div>
This text has color #A87D16 on black background.
This text has color #A87D16 on white background.
This text has black color on #A87D16 background.
This text has white color on #A87D16 background.