HEX: #AFA59D
RGB: (175,165,157)
#AFA59D contains red, green and blue colors in about the same proportion. Web safe color of #AFA59D is #999999 (or #999).
#AFA59D color RGB value is (175,165,157).
RGB: (175,165,157) (69%,65%,62%)
R 175 of 255 = 69%
G 165 of 255 = 65%
B 157 of 255 = 62%
R + G + B ~ 65%. #AFA59D is quite light color.
R + G + B =
175 + 165 + 157 = 497 (100%)
R 175 of 497 ~ 35.21%
G 165 of 497 ~ 33.2%
B 157 of 497 ~ 31.59%
#AFA59D color CMYK value is (0,6,10,31).
CMYK: (0,6,10,31) C0M6Y10K31 (0%,6%,10%,31%) (0.00/0.06/0.10/0.31)
AF | A5 | 9D | |
---|---|---|---|
RGB | 175 | 165 | 157 |
HSL | 27° | 10.11% | 65.10% |
HSB/HSV | 27° | 10.29% | 68.63% |
CMYK | 0.00% | 5.71% | 10.29% |
31.37% |
HEX | AF | A5 | 9D |
Decimal | 175 | 165 | 157 |
Binary | 10101111 | 10100101 | 10011101 |
Octal | 257 | 245 | 235 |
Examples of css and html codes for elements with #AFA59D color. Also use rgb(175,165,157) instead hex code.
.myTextColor { color: #AFA59D; }
<p style="color:#AFA59D">This sample text font color is #AFA59D.</p>
This text font color is #AFA59D.
.myBgColor { background-color: #AFA59D; }
<div style="background-color:#AFA59D">Inner text</div>
This div background color is #AFA59D.
.myBorderColor { border: 1px solid #AFA59D; }
<div style="border:3px solid #AFA59D">Div</div>
This div border color is #AFA59D.
.myOpacity80 { color: #AFA59D; opacity: 0.8; }
<p style="color:#AFA59D;opacity:0.8;">80%</p>
Text with #AFA59D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AFA59D;}
<p style="text-shadow: 3px 3px 1px #AFA59D">Text here.</p>
This text has shadow with #AFA59D color.
.textShadow {text-shadow: 3px 3px 1px #AFA59D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AFA59D, 5px 5px 20px red">Text here.</p>
This text has shadow with #AFA59D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AFA59D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AFA59D, Direction=45, Strength=4)">Text</p>
This text has shadow with #AFA59D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AFA59D; -webkit-box-shadow: 1px 1px 3px 2px #AFA59D; box-shadow: 1px 1px 3px 2px #AFA59D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AFA59D; -webkit-box-shadow: 1px 1px 3px 2px #AFA59D; box-shadow:1px 1px 3px 2px #AFA59D;">
Div content here</div>
This text has color #AFA59D on black background.
This text has color #AFA59D on white background.
This text has black color on #AFA59D background.
This text has white color on #AFA59D background.