HEX: #AF9E6C
RGB: (175,158,108)
#AF9E6C contains mainly red and green colors. Web safe color of #AF9E6C is #999966 (or #996).
#AF9E6C color RGB value is (175,158,108).
RGB: (175,158,108) (69%,62%,42%)
R 175 of 255 = 69%
G 158 of 255 = 62%
B 108 of 255 = 42%
R + G + B ~ 58%. #AF9E6C is middle color (not dark and not light).
R + G + B =
175 + 158 + 108 = 441 (100%)
R 175 of 441 ~ 39.68%
G 158 of 441 ~ 35.83%
B 108 of 441 ~ 24.49%
#AF9E6C color CMYK value is (0,10,38,31).
CMYK: (0,10,38,31) C0M10Y38K31 (0%,10%,38%,31%) (0.00/0.10/0.38/0.31)
AF | 9E | 6C | |
---|---|---|---|
RGB | 175 | 158 | 108 |
HSL | 45° | 29.52% | 55.49% |
HSB/HSV | 45° | 38.29% | 68.63% |
CMYK | 0.00% | 9.71% | 38.29% |
31.37% |
HEX | AF | 9E | 6C |
Decimal | 175 | 158 | 108 |
Binary | 10101111 | 10011110 | 1101100 |
Octal | 257 | 236 | 154 |
Examples of css and html codes for elements with #AF9E6C color. Also use rgb(175,158,108) instead hex code.
.myTextColor { color: #AF9E6C; }
<p style="color:#AF9E6C">This sample text font color is #AF9E6C.</p>
This text font color is #AF9E6C.
.myBgColor { background-color: #AF9E6C; }
<div style="background-color:#AF9E6C">Inner text</div>
This div background color is #AF9E6C.
.myBorderColor { border: 1px solid #AF9E6C; }
<div style="border:3px solid #AF9E6C">Div</div>
This div border color is #AF9E6C.
.myOpacity80 { color: #AF9E6C; opacity: 0.8; }
<p style="color:#AF9E6C;opacity:0.8;">80%</p>
Text with #AF9E6C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AF9E6C;}
<p style="text-shadow: 3px 3px 1px #AF9E6C">Text here.</p>
This text has shadow with #AF9E6C color.
.textShadow {text-shadow: 3px 3px 1px #AF9E6C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AF9E6C, 5px 5px 20px red">Text here.</p>
This text has shadow with #AF9E6C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AF9E6C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AF9E6C, Direction=45, Strength=4)">Text</p>
This text has shadow with #AF9E6C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AF9E6C; -webkit-box-shadow: 1px 1px 3px 2px #AF9E6C; box-shadow: 1px 1px 3px 2px #AF9E6C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AF9E6C; -webkit-box-shadow: 1px 1px 3px 2px #AF9E6C; box-shadow:1px 1px 3px 2px #AF9E6C;">
Div content here</div>
This text has color #AF9E6C on black background.
This text has color #AF9E6C on white background.
This text has black color on #AF9E6C background.
This text has white color on #AF9E6C background.