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