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