HEX: #AFA666
RGB: (175,166,102)
#AFA666 contains mainly red and green colors. Web safe color of #AFA666 is #999966 (or #996).
#AFA666 color RGB value is (175,166,102).
RGB: (175,166,102) (69%,65%,40%)
R 175 of 255 = 69%
G 166 of 255 = 65%
B 102 of 255 = 40%
R + G + B ~ 58%. #AFA666 is middle color (not dark and not light).
R + G + B =
175 + 166 + 102 = 443 (100%)
R 175 of 443 ~ 39.5%
G 166 of 443 ~ 37.47%
B 102 of 443 ~ 23.02%
#AFA666 color CMYK value is (0,5,42,31).
CMYK: (0,5,42,31) C0M5Y42K31 (0%,5%,42%,31%) (0.00/0.05/0.42/0.31)
AF | A6 | 66 | |
---|---|---|---|
RGB | 175 | 166 | 102 |
HSL | 53° | 31.33% | 54.31% |
HSB/HSV | 53° | 41.71% | 68.63% |
CMYK | 0.00% | 5.14% | 41.71% |
31.37% |
HEX | AF | A6 | 66 |
Decimal | 175 | 166 | 102 |
Binary | 10101111 | 10100110 | 1100110 |
Octal | 257 | 246 | 146 |
Examples of css and html codes for elements with #AFA666 color. Also use rgb(175,166,102) instead hex code.
.myTextColor { color: #AFA666; }
<p style="color:#AFA666">This sample text font color is #AFA666.</p>
This text font color is #AFA666.
.myBgColor { background-color: #AFA666; }
<div style="background-color:#AFA666">Inner text</div>
This div background color is #AFA666.
.myBorderColor { border: 1px solid #AFA666; }
<div style="border:3px solid #AFA666">Div</div>
This div border color is #AFA666.
.myOpacity80 { color: #AFA666; opacity: 0.8; }
<p style="color:#AFA666;opacity:0.8;">80%</p>
Text with #AFA666 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AFA666;}
<p style="text-shadow: 3px 3px 1px #AFA666">Text here.</p>
This text has shadow with #AFA666 color.
.textShadow {text-shadow: 3px 3px 1px #AFA666, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AFA666, 5px 5px 20px red">Text here.</p>
This text has shadow with #AFA666 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AFA666, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AFA666, Direction=45, Strength=4)">Text</p>
This text has shadow with #AFA666 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AFA666; -webkit-box-shadow: 1px 1px 3px 2px #AFA666; box-shadow: 1px 1px 3px 2px #AFA666; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AFA666; -webkit-box-shadow: 1px 1px 3px 2px #AFA666; box-shadow:1px 1px 3px 2px #AFA666;">
Div content here</div>
This text has color #AFA666 on black background.
This text has color #AFA666 on white background.
This text has black color on #AFA666 background.
This text has white color on #AFA666 background.