HEX: #A7A797
RGB: (167,167,151)
#A7A797 contains red, green and blue colors in about the same proportion. Web safe color of #A7A797 is #999999 (or #999).
#A7A797 color RGB value is (167,167,151).
RGB: (167,167,151) (65%,65%,59%)
R 167 of 255 = 65%
G 167 of 255 = 65%
B 151 of 255 = 59%
R + G + B ~ 63%. #A7A797 is quite light color.
R + G + B =
167 + 167 + 151 = 485 (100%)
R 167 of 485 ~ 34.43%
G 167 of 485 ~ 34.43%
B 151 of 485 ~ 31.13%
#A7A797 color CMYK value is (0,0,10,35).
CMYK: (0,0,10,35) C0M0Y10K35 (0%,0%,10%,35%) (0.00/0.00/0.10/0.35)
A7 | A7 | 97 | |
---|---|---|---|
RGB | 167 | 167 | 151 |
HSL | 60° | 8.33% | 62.35% |
HSB/HSV | 60° | 9.58% | 65.49% |
CMYK | 0.00% | 0.00% | 9.58% |
34.51% |
HEX | A7 | A7 | 97 |
Decimal | 167 | 167 | 151 |
Binary | 10100111 | 10100111 | 10010111 |
Octal | 247 | 247 | 227 |
Examples of css and html codes for elements with #A7A797 color. Also use rgb(167,167,151) instead hex code.
.myTextColor { color: #A7A797; }
<p style="color:#A7A797">This sample text font color is #A7A797.</p>
This text font color is #A7A797.
.myBgColor { background-color: #A7A797; }
<div style="background-color:#A7A797">Inner text</div>
This div background color is #A7A797.
.myBorderColor { border: 1px solid #A7A797; }
<div style="border:3px solid #A7A797">Div</div>
This div border color is #A7A797.
.myOpacity80 { color: #A7A797; opacity: 0.8; }
<p style="color:#A7A797;opacity:0.8;">80%</p>
Text with #A7A797 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A7A797;}
<p style="text-shadow: 3px 3px 1px #A7A797">Text here.</p>
This text has shadow with #A7A797 color.
.textShadow {text-shadow: 3px 3px 1px #A7A797, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A7A797, 5px 5px 20px red">Text here.</p>
This text has shadow with #A7A797 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A7A797, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A7A797, Direction=45, Strength=4)">Text</p>
This text has shadow with #A7A797 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A7A797; -webkit-box-shadow: 1px 1px 3px 2px #A7A797; box-shadow: 1px 1px 3px 2px #A7A797; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A7A797; -webkit-box-shadow: 1px 1px 3px 2px #A7A797; box-shadow:1px 1px 3px 2px #A7A797;">
Div content here</div>
This text has color #A7A797 on black background.
This text has color #A7A797 on white background.
This text has black color on #A7A797 background.
This text has white color on #A7A797 background.