HEX: #A7986C
RGB: (167,152,108)
#A7986C contains red, green and blue colors in about the same proportion. Web safe color of #A7986C is #999966 (or #996).
#A7986C color RGB value is (167,152,108).
RGB: (167,152,108) (65%,60%,42%)
R 167 of 255 = 65%
G 152 of 255 = 60%
B 108 of 255 = 42%
R + G + B ~ 56%. #A7986C is middle color (not dark and not light).
R + G + B =
167 + 152 + 108 = 427 (100%)
R 167 of 427 ~ 39.11%
G 152 of 427 ~ 35.6%
B 108 of 427 ~ 25.29%
#A7986C color CMYK value is (0,9,35,35).
CMYK: (0,9,35,35) C0M9Y35K35 (0%,9%,35%,35%) (0.00/0.09/0.35/0.35)
A7 | 98 | 6C | |
---|---|---|---|
RGB | 167 | 152 | 108 |
HSL | 45° | 25.11% | 53.92% |
HSB/HSV | 45° | 35.33% | 65.49% |
CMYK | 0.00% | 8.98% | 35.33% |
34.51% |
HEX | A7 | 98 | 6C |
Decimal | 167 | 152 | 108 |
Binary | 10100111 | 10011000 | 1101100 |
Octal | 247 | 230 | 154 |
Examples of css and html codes for elements with #A7986C color. Also use rgb(167,152,108) instead hex code.
.myTextColor { color: #A7986C; }
<p style="color:#A7986C">This sample text font color is #A7986C.</p>
This text font color is #A7986C.
.myBgColor { background-color: #A7986C; }
<div style="background-color:#A7986C">Inner text</div>
This div background color is #A7986C.
.myBorderColor { border: 1px solid #A7986C; }
<div style="border:3px solid #A7986C">Div</div>
This div border color is #A7986C.
.myOpacity80 { color: #A7986C; opacity: 0.8; }
<p style="color:#A7986C;opacity:0.8;">80%</p>
Text with #A7986C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A7986C;}
<p style="text-shadow: 3px 3px 1px #A7986C">Text here.</p>
This text has shadow with #A7986C color.
.textShadow {text-shadow: 3px 3px 1px #A7986C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A7986C, 5px 5px 20px red">Text here.</p>
This text has shadow with #A7986C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A7986C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A7986C, Direction=45, Strength=4)">Text</p>
This text has shadow with #A7986C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A7986C; -webkit-box-shadow: 1px 1px 3px 2px #A7986C; box-shadow: 1px 1px 3px 2px #A7986C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A7986C; -webkit-box-shadow: 1px 1px 3px 2px #A7986C; box-shadow:1px 1px 3px 2px #A7986C;">
Div content here</div>
This text has color #A7986C on black background.
This text has color #A7986C on white background.
This text has black color on #A7986C background.
This text has white color on #A7986C background.