HEX: #AF6FA6
RGB: (175,111,166)
#AF6FA6 contains mainly red and blue colors. Web safe color of #AF6FA6 is #996699 (or #969).
#AF6FA6 color RGB value is (175,111,166).
RGB: (175,111,166) (69%,44%,65%)
R 175 of 255 = 69%
G 111 of 255 = 44%
B 166 of 255 = 65%
R + G + B ~ 59%. #AF6FA6 is middle color (not dark and not light).
R + G + B =
175 + 111 + 166 = 452 (100%)
R 175 of 452 ~ 38.72%
G 111 of 452 ~ 24.56%
B 166 of 452 ~ 36.73%
#AF6FA6 color CMYK value is (0,37,5,31).
CMYK: (0,37,5,31) C0M37Y5K31 (0%,37%,5%,31%) (0.00/0.37/0.05/0.31)
AF | 6F | A6 | |
---|---|---|---|
RGB | 175 | 111 | 166 |
HSL | 308° | 28.57% | 56.08% |
HSB/HSV | 308° | 36.57% | 68.63% |
CMYK | 0.00% | 36.57% | 5.14% |
31.37% |
HEX | AF | 6F | A6 |
Decimal | 175 | 111 | 166 |
Binary | 10101111 | 1101111 | 10100110 |
Octal | 257 | 157 | 246 |
Examples of css and html codes for elements with #AF6FA6 color. Also use rgb(175,111,166) instead hex code.
.myTextColor { color: #AF6FA6; }
<p style="color:#AF6FA6">This sample text font color is #AF6FA6.</p>
This text font color is #AF6FA6.
.myBgColor { background-color: #AF6FA6; }
<div style="background-color:#AF6FA6">Inner text</div>
This div background color is #AF6FA6.
.myBorderColor { border: 1px solid #AF6FA6; }
<div style="border:3px solid #AF6FA6">Div</div>
This div border color is #AF6FA6.
.myOpacity80 { color: #AF6FA6; opacity: 0.8; }
<p style="color:#AF6FA6;opacity:0.8;">80%</p>
Text with #AF6FA6 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AF6FA6;}
<p style="text-shadow: 3px 3px 1px #AF6FA6">Text here.</p>
This text has shadow with #AF6FA6 color.
.textShadow {text-shadow: 3px 3px 1px #AF6FA6, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AF6FA6, 5px 5px 20px red">Text here.</p>
This text has shadow with #AF6FA6 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AF6FA6, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AF6FA6, Direction=45, Strength=4)">Text</p>
This text has shadow with #AF6FA6 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AF6FA6; -webkit-box-shadow: 1px 1px 3px 2px #AF6FA6; box-shadow: 1px 1px 3px 2px #AF6FA6; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AF6FA6; -webkit-box-shadow: 1px 1px 3px 2px #AF6FA6; box-shadow:1px 1px 3px 2px #AF6FA6;">
Div content here</div>
This text has color #AF6FA6 on black background.
This text has color #AF6FA6 on white background.
This text has black color on #AF6FA6 background.
This text has white color on #AF6FA6 background.