HEX: #AF6F4F
RGB: (175,111,79)
#AF6F4F contains mainly red color. Web safe color of #AF6F4F is #996666 (or #966).
#AF6F4F color RGB value is (175,111,79).
RGB: (175,111,79) (69%,44%,31%)
R 175 of 255 = 69%
G 111 of 255 = 44%
B 79 of 255 = 31%
R + G + B ~ 48%. #AF6F4F is middle color (not dark and not light).
R + G + B =
175 + 111 + 79 = 365 (100%)
R 175 of 365 ~ 47.95%
G 111 of 365 ~ 30.41%
B 79 of 365 ~ 21.64%
#AF6F4F color CMYK value is (0,37,55,31).
CMYK: (0,37,55,31) C0M37Y55K31 (0%,37%,55%,31%) (0.00/0.37/0.55/0.31)
AF | 6F | 4F | |
---|---|---|---|
RGB | 175 | 111 | 79 |
HSL | 20° | 37.80% | 49.80% |
HSB/HSV | 20° | 54.86% | 68.63% |
CMYK | 0.00% | 36.57% | 54.86% |
31.37% |
HEX | AF | 6F | 4F |
Decimal | 175 | 111 | 79 |
Binary | 10101111 | 1101111 | 1001111 |
Octal | 257 | 157 | 117 |
Examples of css and html codes for elements with #AF6F4F color. Also use rgb(175,111,79) instead hex code.
.myTextColor { color: #AF6F4F; }
<p style="color:#AF6F4F">This sample text font color is #AF6F4F.</p>
This text font color is #AF6F4F.
.myBgColor { background-color: #AF6F4F; }
<div style="background-color:#AF6F4F">Inner text</div>
This div background color is #AF6F4F.
.myBorderColor { border: 1px solid #AF6F4F; }
<div style="border:3px solid #AF6F4F">Div</div>
This div border color is #AF6F4F.
.myOpacity80 { color: #AF6F4F; opacity: 0.8; }
<p style="color:#AF6F4F;opacity:0.8;">80%</p>
Text with #AF6F4F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AF6F4F;}
<p style="text-shadow: 3px 3px 1px #AF6F4F">Text here.</p>
This text has shadow with #AF6F4F color.
.textShadow {text-shadow: 3px 3px 1px #AF6F4F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AF6F4F, 5px 5px 20px red">Text here.</p>
This text has shadow with #AF6F4F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AF6F4F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AF6F4F, Direction=45, Strength=4)">Text</p>
This text has shadow with #AF6F4F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AF6F4F; -webkit-box-shadow: 1px 1px 3px 2px #AF6F4F; box-shadow: 1px 1px 3px 2px #AF6F4F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AF6F4F; -webkit-box-shadow: 1px 1px 3px 2px #AF6F4F; box-shadow:1px 1px 3px 2px #AF6F4F;">
Div content here</div>
This text has color #AF6F4F on black background.
This text has color #AF6F4F on white background.
This text has black color on #AF6F4F background.
This text has white color on #AF6F4F background.