HEX: #AF6E42
RGB: (175,110,66)
#AF6E42 contains mainly red color. Web safe color of #AF6E42 is #996633 (or #963).
#AF6E42 color RGB value is (175,110,66).
RGB: (175,110,66) (69%,43%,26%)
R 175 of 255 = 69%
G 110 of 255 = 43%
B 66 of 255 = 26%
R + G + B ~ 46%. #AF6E42 is middle color (not dark and not light).
R + G + B =
175 + 110 + 66 = 351 (100%)
R 175 of 351 ~ 49.86%
G 110 of 351 ~ 31.34%
B 66 of 351 ~ 18.8%
#AF6E42 color CMYK value is (0,37,62,31).
CMYK: (0,37,62,31) C0M37Y62K31 (0%,37%,62%,31%) (0.00/0.37/0.62/0.31)
AF | 6E | 42 | |
---|---|---|---|
RGB | 175 | 110 | 66 |
HSL | 24° | 45.23% | 47.25% |
HSB/HSV | 24° | 62.29% | 68.63% |
CMYK | 0.00% | 37.14% | 62.29% |
31.37% |
HEX | AF | 6E | 42 |
Decimal | 175 | 110 | 66 |
Binary | 10101111 | 1101110 | 1000010 |
Octal | 257 | 156 | 102 |
Examples of css and html codes for elements with #AF6E42 color. Also use rgb(175,110,66) instead hex code.
.myTextColor { color: #AF6E42; }
<p style="color:#AF6E42">This sample text font color is #AF6E42.</p>
This text font color is #AF6E42.
.myBgColor { background-color: #AF6E42; }
<div style="background-color:#AF6E42">Inner text</div>
This div background color is #AF6E42.
.myBorderColor { border: 1px solid #AF6E42; }
<div style="border:3px solid #AF6E42">Div</div>
This div border color is #AF6E42.
.myOpacity80 { color: #AF6E42; opacity: 0.8; }
<p style="color:#AF6E42;opacity:0.8;">80%</p>
Text with #AF6E42 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AF6E42;}
<p style="text-shadow: 3px 3px 1px #AF6E42">Text here.</p>
This text has shadow with #AF6E42 color.
.textShadow {text-shadow: 3px 3px 1px #AF6E42, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AF6E42, 5px 5px 20px red">Text here.</p>
This text has shadow with #AF6E42 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AF6E42, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AF6E42, Direction=45, Strength=4)">Text</p>
This text has shadow with #AF6E42 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AF6E42; -webkit-box-shadow: 1px 1px 3px 2px #AF6E42; box-shadow: 1px 1px 3px 2px #AF6E42; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AF6E42; -webkit-box-shadow: 1px 1px 3px 2px #AF6E42; box-shadow:1px 1px 3px 2px #AF6E42;">
Div content here</div>
This text has color #AF6E42 on black background.
This text has color #AF6E42 on white background.
This text has black color on #AF6E42 background.
This text has white color on #AF6E42 background.