HEX: #AFA55F
RGB: (175,165,95)
#AFA55F contains mainly red and green colors. Web safe color of #AFA55F is #999966 (or #996).
#AFA55F color RGB value is (175,165,95).
RGB: (175,165,95) (69%,65%,37%)
R 175 of 255 = 69%
G 165 of 255 = 65%
B 95 of 255 = 37%
R + G + B ~ 57%. #AFA55F is middle color (not dark and not light).
R + G + B =
175 + 165 + 95 = 435 (100%)
R 175 of 435 ~ 40.23%
G 165 of 435 ~ 37.93%
B 95 of 435 ~ 21.84%
#AFA55F color CMYK value is (0,6,46,31).
CMYK: (0,6,46,31) C0M6Y46K31 (0%,6%,46%,31%) (0.00/0.06/0.46/0.31)
AF | A5 | 5F | |
---|---|---|---|
RGB | 175 | 165 | 95 |
HSL | 53° | 33.33% | 52.94% |
HSB/HSV | 53° | 45.71% | 68.63% |
CMYK | 0.00% | 5.71% | 45.71% |
31.37% |
HEX | AF | A5 | 5F |
Decimal | 175 | 165 | 95 |
Binary | 10101111 | 10100101 | 1011111 |
Octal | 257 | 245 | 137 |
Examples of css and html codes for elements with #AFA55F color. Also use rgb(175,165,95) instead hex code.
.myTextColor { color: #AFA55F; }
<p style="color:#AFA55F">This sample text font color is #AFA55F.</p>
This text font color is #AFA55F.
.myBgColor { background-color: #AFA55F; }
<div style="background-color:#AFA55F">Inner text</div>
This div background color is #AFA55F.
.myBorderColor { border: 1px solid #AFA55F; }
<div style="border:3px solid #AFA55F">Div</div>
This div border color is #AFA55F.
.myOpacity80 { color: #AFA55F; opacity: 0.8; }
<p style="color:#AFA55F;opacity:0.8;">80%</p>
Text with #AFA55F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AFA55F;}
<p style="text-shadow: 3px 3px 1px #AFA55F">Text here.</p>
This text has shadow with #AFA55F color.
.textShadow {text-shadow: 3px 3px 1px #AFA55F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AFA55F, 5px 5px 20px red">Text here.</p>
This text has shadow with #AFA55F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AFA55F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AFA55F, Direction=45, Strength=4)">Text</p>
This text has shadow with #AFA55F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AFA55F; -webkit-box-shadow: 1px 1px 3px 2px #AFA55F; box-shadow: 1px 1px 3px 2px #AFA55F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AFA55F; -webkit-box-shadow: 1px 1px 3px 2px #AFA55F; box-shadow:1px 1px 3px 2px #AFA55F;">
Div content here</div>
This text has color #AFA55F on black background.
This text has color #AFA55F on white background.
This text has black color on #AFA55F background.
This text has white color on #AFA55F background.