HEX: #AFA950
RGB: (175,169,80)
#AFA950 contains mainly red and green colors. Web safe color of #AFA950 is #999966 (or #996).
#AFA950 color RGB value is (175,169,80).
RGB: (175,169,80) (69%,66%,31%)
R 175 of 255 = 69%
G 169 of 255 = 66%
B 80 of 255 = 31%
R + G + B ~ 55%. #AFA950 is middle color (not dark and not light).
R + G + B =
175 + 169 + 80 = 424 (100%)
R 175 of 424 ~ 41.27%
G 169 of 424 ~ 39.86%
B 80 of 424 ~ 18.87%
#AFA950 color CMYK value is (0,3,54,31).
CMYK: (0,3,54,31) C0M3Y54K31 (0%,3%,54%,31%) (0.00/0.03/0.54/0.31)
AF | A9 | 50 | |
---|---|---|---|
RGB | 175 | 169 | 80 |
HSL | 56° | 37.25% | 50.00% |
HSB/HSV | 56° | 54.29% | 68.63% |
CMYK | 0.00% | 3.43% | 54.29% |
31.37% |
HEX | AF | A9 | 50 |
Decimal | 175 | 169 | 80 |
Binary | 10101111 | 10101001 | 1010000 |
Octal | 257 | 251 | 120 |
Examples of css and html codes for elements with #AFA950 color. Also use rgb(175,169,80) instead hex code.
.myTextColor { color: #AFA950; }
<p style="color:#AFA950">This sample text font color is #AFA950.</p>
This text font color is #AFA950.
.myBgColor { background-color: #AFA950; }
<div style="background-color:#AFA950">Inner text</div>
This div background color is #AFA950.
.myBorderColor { border: 1px solid #AFA950; }
<div style="border:3px solid #AFA950">Div</div>
This div border color is #AFA950.
.myOpacity80 { color: #AFA950; opacity: 0.8; }
<p style="color:#AFA950;opacity:0.8;">80%</p>
Text with #AFA950 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AFA950;}
<p style="text-shadow: 3px 3px 1px #AFA950">Text here.</p>
This text has shadow with #AFA950 color.
.textShadow {text-shadow: 3px 3px 1px #AFA950, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AFA950, 5px 5px 20px red">Text here.</p>
This text has shadow with #AFA950 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AFA950, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AFA950, Direction=45, Strength=4)">Text</p>
This text has shadow with #AFA950 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AFA950; -webkit-box-shadow: 1px 1px 3px 2px #AFA950; box-shadow: 1px 1px 3px 2px #AFA950; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AFA950; -webkit-box-shadow: 1px 1px 3px 2px #AFA950; box-shadow:1px 1px 3px 2px #AFA950;">
Div content here</div>
This text has color #AFA950 on black background.
This text has color #AFA950 on white background.
This text has black color on #AFA950 background.
This text has white color on #AFA950 background.