HEX: #AFA048
RGB: (175,160,72)
#AFA048 contains mainly red and green colors. Web safe color of #AFA048 is #999933 (or #993).
#AFA048 color RGB value is (175,160,72).
RGB: (175,160,72) (69%,63%,28%)
R 175 of 255 = 69%
G 160 of 255 = 63%
B 72 of 255 = 28%
R + G + B ~ 53%. #AFA048 is middle color (not dark and not light).
R + G + B =
175 + 160 + 72 = 407 (100%)
R 175 of 407 ~ 43%
G 160 of 407 ~ 39.31%
B 72 of 407 ~ 17.69%
#AFA048 color CMYK value is (0,9,59,31).
CMYK: (0,9,59,31) C0M9Y59K31 (0%,9%,59%,31%) (0.00/0.09/0.59/0.31)
AF | A0 | 48 | |
---|---|---|---|
RGB | 175 | 160 | 72 |
HSL | 51° | 41.70% | 48.43% |
HSB/HSV | 51° | 58.86% | 68.63% |
CMYK | 0.00% | 8.57% | 58.86% |
31.37% |
HEX | AF | A0 | 48 |
Decimal | 175 | 160 | 72 |
Binary | 10101111 | 10100000 | 1001000 |
Octal | 257 | 240 | 110 |
Examples of css and html codes for elements with #AFA048 color. Also use rgb(175,160,72) instead hex code.
.myTextColor { color: #AFA048; }
<p style="color:#AFA048">This sample text font color is #AFA048.</p>
This text font color is #AFA048.
.myBgColor { background-color: #AFA048; }
<div style="background-color:#AFA048">Inner text</div>
This div background color is #AFA048.
.myBorderColor { border: 1px solid #AFA048; }
<div style="border:3px solid #AFA048">Div</div>
This div border color is #AFA048.
.myOpacity80 { color: #AFA048; opacity: 0.8; }
<p style="color:#AFA048;opacity:0.8;">80%</p>
Text with #AFA048 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AFA048;}
<p style="text-shadow: 3px 3px 1px #AFA048">Text here.</p>
This text has shadow with #AFA048 color.
.textShadow {text-shadow: 3px 3px 1px #AFA048, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AFA048, 5px 5px 20px red">Text here.</p>
This text has shadow with #AFA048 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AFA048, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AFA048, Direction=45, Strength=4)">Text</p>
This text has shadow with #AFA048 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AFA048; -webkit-box-shadow: 1px 1px 3px 2px #AFA048; box-shadow: 1px 1px 3px 2px #AFA048; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AFA048; -webkit-box-shadow: 1px 1px 3px 2px #AFA048; box-shadow:1px 1px 3px 2px #AFA048;">
Div content here</div>
This text has color #AFA048 on black background.
This text has color #AFA048 on white background.
This text has black color on #AFA048 background.
This text has white color on #AFA048 background.