HEX: #A5986B
RGB: (165,152,107)
#A5986B contains red, green and blue colors in about the same proportion. Web safe color of #A5986B is #999966 (or #996).
#A5986B color RGB value is (165,152,107).
RGB: (165,152,107) (65%,60%,42%)
R 165 of 255 = 65%
G 152 of 255 = 60%
B 107 of 255 = 42%
R + G + B ~ 56%. #A5986B is middle color (not dark and not light).
R + G + B =
165 + 152 + 107 = 424 (100%)
R 165 of 424 ~ 38.92%
G 152 of 424 ~ 35.85%
B 107 of 424 ~ 25.24%
#A5986B color CMYK value is (0,8,35,35).
CMYK: (0,8,35,35) C0M8Y35K35 (0%,8%,35%,35%) (0.00/0.08/0.35/0.35)
A5 | 98 | 6B | |
---|---|---|---|
RGB | 165 | 152 | 107 |
HSL | 47° | 24.37% | 53.33% |
HSB/HSV | 47° | 35.15% | 64.71% |
CMYK | 0.00% | 7.88% | 35.15% |
35.29% |
HEX | A5 | 98 | 6B |
Decimal | 165 | 152 | 107 |
Binary | 10100101 | 10011000 | 1101011 |
Octal | 245 | 230 | 153 |
Examples of css and html codes for elements with #A5986B color. Also use rgb(165,152,107) instead hex code.
.myTextColor { color: #A5986B; }
<p style="color:#A5986B">This sample text font color is #A5986B.</p>
This text font color is #A5986B.
.myBgColor { background-color: #A5986B; }
<div style="background-color:#A5986B">Inner text</div>
This div background color is #A5986B.
.myBorderColor { border: 1px solid #A5986B; }
<div style="border:3px solid #A5986B">Div</div>
This div border color is #A5986B.
.myOpacity80 { color: #A5986B; opacity: 0.8; }
<p style="color:#A5986B;opacity:0.8;">80%</p>
Text with #A5986B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A5986B;}
<p style="text-shadow: 3px 3px 1px #A5986B">Text here.</p>
This text has shadow with #A5986B color.
.textShadow {text-shadow: 3px 3px 1px #A5986B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A5986B, 5px 5px 20px red">Text here.</p>
This text has shadow with #A5986B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A5986B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A5986B, Direction=45, Strength=4)">Text</p>
This text has shadow with #A5986B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A5986B; -webkit-box-shadow: 1px 1px 3px 2px #A5986B; box-shadow: 1px 1px 3px 2px #A5986B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A5986B; -webkit-box-shadow: 1px 1px 3px 2px #A5986B; box-shadow:1px 1px 3px 2px #A5986B;">
Div content here</div>
This text has color #A5986B on black background.
This text has color #A5986B on white background.
This text has black color on #A5986B background.
This text has white color on #A5986B background.