HEX: #AF6E8F
RGB: (175,110,143)
#AF6E8F contains mainly red and blue colors. Web safe color of #AF6E8F is #996699 (or #969).
#AF6E8F color RGB value is (175,110,143).
RGB: (175,110,143) (69%,43%,56%)
R 175 of 255 = 69%
G 110 of 255 = 43%
B 143 of 255 = 56%
R + G + B ~ 56%. #AF6E8F is middle color (not dark and not light).
R + G + B =
175 + 110 + 143 = 428 (100%)
R 175 of 428 ~ 40.89%
G 110 of 428 ~ 25.7%
B 143 of 428 ~ 33.41%
#AF6E8F color CMYK value is (0,37,18,31).
CMYK: (0,37,18,31) C0M37Y18K31 (0%,37%,18%,31%) (0.00/0.37/0.18/0.31)
AF | 6E | 8F | |
---|---|---|---|
RGB | 175 | 110 | 143 |
HSL | 330° | 28.89% | 55.88% |
HSB/HSV | 330° | 37.14% | 68.63% |
CMYK | 0.00% | 37.14% | 18.29% |
31.37% |
HEX | AF | 6E | 8F |
Decimal | 175 | 110 | 143 |
Binary | 10101111 | 1101110 | 10001111 |
Octal | 257 | 156 | 217 |
Examples of css and html codes for elements with #AF6E8F color. Also use rgb(175,110,143) instead hex code.
.myTextColor { color: #AF6E8F; }
<p style="color:#AF6E8F">This sample text font color is #AF6E8F.</p>
This text font color is #AF6E8F.
.myBgColor { background-color: #AF6E8F; }
<div style="background-color:#AF6E8F">Inner text</div>
This div background color is #AF6E8F.
.myBorderColor { border: 1px solid #AF6E8F; }
<div style="border:3px solid #AF6E8F">Div</div>
This div border color is #AF6E8F.
.myOpacity80 { color: #AF6E8F; opacity: 0.8; }
<p style="color:#AF6E8F;opacity:0.8;">80%</p>
Text with #AF6E8F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AF6E8F;}
<p style="text-shadow: 3px 3px 1px #AF6E8F">Text here.</p>
This text has shadow with #AF6E8F color.
.textShadow {text-shadow: 3px 3px 1px #AF6E8F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AF6E8F, 5px 5px 20px red">Text here.</p>
This text has shadow with #AF6E8F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AF6E8F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AF6E8F, Direction=45, Strength=4)">Text</p>
This text has shadow with #AF6E8F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AF6E8F; -webkit-box-shadow: 1px 1px 3px 2px #AF6E8F; box-shadow: 1px 1px 3px 2px #AF6E8F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AF6E8F; -webkit-box-shadow: 1px 1px 3px 2px #AF6E8F; box-shadow:1px 1px 3px 2px #AF6E8F;">
Div content here</div>
This text has color #AF6E8F on black background.
This text has color #AF6E8F on white background.
This text has black color on #AF6E8F background.
This text has white color on #AF6E8F background.