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