HEX: #AFA97D
RGB: (175,169,125)
#AFA97D contains red, green and blue colors in about the same proportion. Web safe color of #AFA97D is #999966 (or #996).
#AFA97D color RGB value is (175,169,125).
RGB: (175,169,125) (69%,66%,49%)
R 175 of 255 = 69%
G 169 of 255 = 66%
B 125 of 255 = 49%
R + G + B ~ 61%. #AFA97D is quite light color.
R + G + B =
175 + 169 + 125 = 469 (100%)
R 175 of 469 ~ 37.31%
G 169 of 469 ~ 36.03%
B 125 of 469 ~ 26.65%
#AFA97D color CMYK value is (0,3,29,31).
CMYK: (0,3,29,31) C0M3Y29K31 (0%,3%,29%,31%) (0.00/0.03/0.29/0.31)
AF | A9 | 7D | |
---|---|---|---|
RGB | 175 | 169 | 125 |
HSL | 53° | 23.81% | 58.82% |
HSB/HSV | 53° | 28.57% | 68.63% |
CMYK | 0.00% | 3.43% | 28.57% |
31.37% |
HEX | AF | A9 | 7D |
Decimal | 175 | 169 | 125 |
Binary | 10101111 | 10101001 | 1111101 |
Octal | 257 | 251 | 175 |
Examples of css and html codes for elements with #AFA97D color. Also use rgb(175,169,125) instead hex code.
.myTextColor { color: #AFA97D; }
<p style="color:#AFA97D">This sample text font color is #AFA97D.</p>
This text font color is #AFA97D.
.myBgColor { background-color: #AFA97D; }
<div style="background-color:#AFA97D">Inner text</div>
This div background color is #AFA97D.
.myBorderColor { border: 1px solid #AFA97D; }
<div style="border:3px solid #AFA97D">Div</div>
This div border color is #AFA97D.
.myOpacity80 { color: #AFA97D; opacity: 0.8; }
<p style="color:#AFA97D;opacity:0.8;">80%</p>
Text with #AFA97D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AFA97D;}
<p style="text-shadow: 3px 3px 1px #AFA97D">Text here.</p>
This text has shadow with #AFA97D color.
.textShadow {text-shadow: 3px 3px 1px #AFA97D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AFA97D, 5px 5px 20px red">Text here.</p>
This text has shadow with #AFA97D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AFA97D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AFA97D, Direction=45, Strength=4)">Text</p>
This text has shadow with #AFA97D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AFA97D; -webkit-box-shadow: 1px 1px 3px 2px #AFA97D; box-shadow: 1px 1px 3px 2px #AFA97D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AFA97D; -webkit-box-shadow: 1px 1px 3px 2px #AFA97D; box-shadow:1px 1px 3px 2px #AFA97D;">
Div content here</div>
This text has color #AFA97D on black background.
This text has color #AFA97D on white background.
This text has black color on #AFA97D background.
This text has white color on #AFA97D background.