HEX: #AF6C6A
RGB: (175,108,106)
#AF6C6A contains mainly red color. Web safe color of #AF6C6A is #996666 (or #966).
#AF6C6A color RGB value is (175,108,106).
RGB: (175,108,106) (69%,42%,42%)
R 175 of 255 = 69%
G 108 of 255 = 42%
B 106 of 255 = 42%
R + G + B ~ 51%. #AF6C6A is middle color (not dark and not light).
R + G + B =
175 + 108 + 106 = 389 (100%)
R 175 of 389 ~ 44.99%
G 108 of 389 ~ 27.76%
B 106 of 389 ~ 27.25%
#AF6C6A color CMYK value is (0,38,39,31).
CMYK: (0,38,39,31) C0M38Y39K31 (0%,38%,39%,31%) (0.00/0.38/0.39/0.31)
AF | 6C | 6A | |
---|---|---|---|
RGB | 175 | 108 | 106 |
HSL | 2° | 30.13% | 55.10% |
HSB/HSV | 2° | 39.43% | 68.63% |
CMYK | 0.00% | 38.29% | 39.43% |
31.37% |
HEX | AF | 6C | 6A |
Decimal | 175 | 108 | 106 |
Binary | 10101111 | 1101100 | 1101010 |
Octal | 257 | 154 | 152 |
Examples of css and html codes for elements with #AF6C6A color. Also use rgb(175,108,106) instead hex code.
.myTextColor { color: #AF6C6A; }
<p style="color:#AF6C6A">This sample text font color is #AF6C6A.</p>
This text font color is #AF6C6A.
.myBgColor { background-color: #AF6C6A; }
<div style="background-color:#AF6C6A">Inner text</div>
This div background color is #AF6C6A.
.myBorderColor { border: 1px solid #AF6C6A; }
<div style="border:3px solid #AF6C6A">Div</div>
This div border color is #AF6C6A.
.myOpacity80 { color: #AF6C6A; opacity: 0.8; }
<p style="color:#AF6C6A;opacity:0.8;">80%</p>
Text with #AF6C6A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AF6C6A;}
<p style="text-shadow: 3px 3px 1px #AF6C6A">Text here.</p>
This text has shadow with #AF6C6A color.
.textShadow {text-shadow: 3px 3px 1px #AF6C6A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AF6C6A, 5px 5px 20px red">Text here.</p>
This text has shadow with #AF6C6A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AF6C6A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AF6C6A, Direction=45, Strength=4)">Text</p>
This text has shadow with #AF6C6A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AF6C6A; -webkit-box-shadow: 1px 1px 3px 2px #AF6C6A; box-shadow: 1px 1px 3px 2px #AF6C6A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AF6C6A; -webkit-box-shadow: 1px 1px 3px 2px #AF6C6A; box-shadow:1px 1px 3px 2px #AF6C6A;">
Div content here</div>
This text has color #AF6C6A on black background.
This text has color #AF6C6A on white background.
This text has black color on #AF6C6A background.
This text has white color on #AF6C6A background.