HEX: #AF881E
RGB: (175,136,30)
#AF881E contains mainly red and green colors. Web safe color of #AF881E is #999933 (or #993).
#AF881E color RGB value is (175,136,30).
RGB: (175,136,30) (69%,53%,12%)
R 175 of 255 = 69%
G 136 of 255 = 53%
B 30 of 255 = 12%
R + G + B ~ 45%. #AF881E is middle color (not dark and not light).
R + G + B =
175 + 136 + 30 = 341 (100%)
R 175 of 341 ~ 51.32%
G 136 of 341 ~ 39.88%
B 30 of 341 ~ 8.8%
#AF881E color CMYK value is (0,22,83,31).
CMYK: (0,22,83,31) C0M22Y83K31 (0%,22%,83%,31%) (0.00/0.22/0.83/0.31)
AF | 88 | 1E | |
---|---|---|---|
RGB | 175 | 136 | 30 |
HSL | 44° | 70.73% | 40.20% |
HSB/HSV | 44° | 82.86% | 68.63% |
CMYK | 0.00% | 22.29% | 82.86% |
31.37% |
HEX | AF | 88 | 1E |
Decimal | 175 | 136 | 30 |
Binary | 10101111 | 10001000 | 11110 |
Octal | 257 | 210 | 36 |
Examples of css and html codes for elements with #AF881E color. Also use rgb(175,136,30) instead hex code.
.myTextColor { color: #AF881E; }
<p style="color:#AF881E">This sample text font color is #AF881E.</p>
This text font color is #AF881E.
.myBgColor { background-color: #AF881E; }
<div style="background-color:#AF881E">Inner text</div>
This div background color is #AF881E.
.myBorderColor { border: 1px solid #AF881E; }
<div style="border:3px solid #AF881E">Div</div>
This div border color is #AF881E.
.myOpacity80 { color: #AF881E; opacity: 0.8; }
<p style="color:#AF881E;opacity:0.8;">80%</p>
Text with #AF881E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AF881E;}
<p style="text-shadow: 3px 3px 1px #AF881E">Text here.</p>
This text has shadow with #AF881E color.
.textShadow {text-shadow: 3px 3px 1px #AF881E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AF881E, 5px 5px 20px red">Text here.</p>
This text has shadow with #AF881E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AF881E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AF881E, Direction=45, Strength=4)">Text</p>
This text has shadow with #AF881E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AF881E; -webkit-box-shadow: 1px 1px 3px 2px #AF881E; box-shadow: 1px 1px 3px 2px #AF881E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AF881E; -webkit-box-shadow: 1px 1px 3px 2px #AF881E; box-shadow:1px 1px 3px 2px #AF881E;">
Div content here</div>
This text has color #AF881E on black background.
This text has color #AF881E on white background.
This text has black color on #AF881E background.
This text has white color on #AF881E background.