HEX: #AF7E10
RGB: (175,126,16)
#AF7E10 contains mainly red and green colors. Web safe color of #AF7E10 is #996600 (or #960).
#AF7E10 color RGB value is (175,126,16).
RGB: (175,126,16) (69%,49%,6%)
R 175 of 255 = 69%
G 126 of 255 = 49%
B 16 of 255 = 6%
R + G + B ~ 41%. #AF7E10 is middle color (not dark and not light).
R + G + B =
175 + 126 + 16 = 317 (100%)
R 175 of 317 ~ 55.21%
G 126 of 317 ~ 39.75%
B 16 of 317 ~ 5.05%
#AF7E10 color CMYK value is (0,28,91,31).
CMYK: (0,28,91,31) C0M28Y91K31 (0%,28%,91%,31%) (0.00/0.28/0.91/0.31)
AF | 7E | 10 | |
---|---|---|---|
RGB | 175 | 126 | 16 |
HSL | 42° | 83.25% | 37.45% |
HSB/HSV | 42° | 90.86% | 68.63% |
CMYK | 0.00% | 28.00% | 90.86% |
31.37% |
HEX | AF | 7E | 10 |
Decimal | 175 | 126 | 16 |
Binary | 10101111 | 1111110 | 10000 |
Octal | 257 | 176 | 20 |
Examples of css and html codes for elements with #AF7E10 color. Also use rgb(175,126,16) instead hex code.
.myTextColor { color: #AF7E10; }
<p style="color:#AF7E10">This sample text font color is #AF7E10.</p>
This text font color is #AF7E10.
.myBgColor { background-color: #AF7E10; }
<div style="background-color:#AF7E10">Inner text</div>
This div background color is #AF7E10.
.myBorderColor { border: 1px solid #AF7E10; }
<div style="border:3px solid #AF7E10">Div</div>
This div border color is #AF7E10.
.myOpacity80 { color: #AF7E10; opacity: 0.8; }
<p style="color:#AF7E10;opacity:0.8;">80%</p>
Text with #AF7E10 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AF7E10;}
<p style="text-shadow: 3px 3px 1px #AF7E10">Text here.</p>
This text has shadow with #AF7E10 color.
.textShadow {text-shadow: 3px 3px 1px #AF7E10, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AF7E10, 5px 5px 20px red">Text here.</p>
This text has shadow with #AF7E10 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AF7E10, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AF7E10, Direction=45, Strength=4)">Text</p>
This text has shadow with #AF7E10 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AF7E10; -webkit-box-shadow: 1px 1px 3px 2px #AF7E10; box-shadow: 1px 1px 3px 2px #AF7E10; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AF7E10; -webkit-box-shadow: 1px 1px 3px 2px #AF7E10; box-shadow:1px 1px 3px 2px #AF7E10;">
Div content here</div>
This text has color #AF7E10 on black background.
This text has color #AF7E10 on white background.
This text has black color on #AF7E10 background.
This text has white color on #AF7E10 background.