HEX: #A5A787
RGB: (165,167,135)
#A5A787 contains red, green and blue colors in about the same proportion. Web safe color of #A5A787 is #999999 (or #999).
#A5A787 color RGB value is (165,167,135).
RGB: (165,167,135) (65%,65%,53%)
R 165 of 255 = 65%
G 167 of 255 = 65%
B 135 of 255 = 53%
R + G + B ~ 61%. #A5A787 is quite light color.
R + G + B =
165 + 167 + 135 = 467 (100%)
R 165 of 467 ~ 35.33%
G 167 of 467 ~ 35.76%
B 135 of 467 ~ 28.91%
#A5A787 color CMYK value is (1,0,19,35).
CMYK: (1,0,19,35) C1M0Y19K35 (1%,0%,19%,35%) (0.01/0.00/0.19/0.35)
A5 | A7 | 87 | |
---|---|---|---|
RGB | 165 | 167 | 135 |
HSL | 64° | 15.38% | 59.22% |
HSB/HSV | 64° | 19.16% | 65.49% |
CMYK | 1.20% | 0.00% | 19.16% |
34.51% |
HEX | A5 | A7 | 87 |
Decimal | 165 | 167 | 135 |
Binary | 10100101 | 10100111 | 10000111 |
Octal | 245 | 247 | 207 |
Examples of css and html codes for elements with #A5A787 color. Also use rgb(165,167,135) instead hex code.
.myTextColor { color: #A5A787; }
<p style="color:#A5A787">This sample text font color is #A5A787.</p>
This text font color is #A5A787.
.myBgColor { background-color: #A5A787; }
<div style="background-color:#A5A787">Inner text</div>
This div background color is #A5A787.
.myBorderColor { border: 1px solid #A5A787; }
<div style="border:3px solid #A5A787">Div</div>
This div border color is #A5A787.
.myOpacity80 { color: #A5A787; opacity: 0.8; }
<p style="color:#A5A787;opacity:0.8;">80%</p>
Text with #A5A787 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A5A787;}
<p style="text-shadow: 3px 3px 1px #A5A787">Text here.</p>
This text has shadow with #A5A787 color.
.textShadow {text-shadow: 3px 3px 1px #A5A787, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A5A787, 5px 5px 20px red">Text here.</p>
This text has shadow with #A5A787 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A5A787, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A5A787, Direction=45, Strength=4)">Text</p>
This text has shadow with #A5A787 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A5A787; -webkit-box-shadow: 1px 1px 3px 2px #A5A787; box-shadow: 1px 1px 3px 2px #A5A787; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A5A787; -webkit-box-shadow: 1px 1px 3px 2px #A5A787; box-shadow:1px 1px 3px 2px #A5A787;">
Div content here</div>
This text has color #A5A787 on black background.
This text has color #A5A787 on white background.
This text has black color on #A5A787 background.
This text has white color on #A5A787 background.