HEX: #AF6AB3
RGB: (175,106,179)
#AF6AB3 contains mainly red and blue colors. Web safe color of #AF6AB3 is #996699 (or #969).
#AF6AB3 color RGB value is (175,106,179).
RGB: (175,106,179) (69%,42%,70%)
R 175 of 255 = 69%
G 106 of 255 = 42%
B 179 of 255 = 70%
R + G + B ~ 60%. #AF6AB3 is middle color (not dark and not light).
R + G + B =
175 + 106 + 179 = 460 (100%)
R 175 of 460 ~ 38.04%
G 106 of 460 ~ 23.04%
B 179 of 460 ~ 38.91%
#AF6AB3 color CMYK value is (2,41,0,30).
CMYK: (2,41,0,30) C2M41Y0K30 (2%,41%,0%,30%) (0.02/0.41/0.00/0.30)
AF | 6A | B3 | |
---|---|---|---|
RGB | 175 | 106 | 179 |
HSL | 297° | 32.44% | 55.88% |
HSB/HSV | 297° | 40.78% | 70.20% |
CMYK | 2.23% | 40.78% | 0.00% |
29.80% |
HEX | AF | 6A | B3 |
Decimal | 175 | 106 | 179 |
Binary | 10101111 | 1101010 | 10110011 |
Octal | 257 | 152 | 263 |
Examples of css and html codes for elements with #AF6AB3 color. Also use rgb(175,106,179) instead hex code.
.myTextColor { color: #AF6AB3; }
<p style="color:#AF6AB3">This sample text font color is #AF6AB3.</p>
This text font color is #AF6AB3.
.myBgColor { background-color: #AF6AB3; }
<div style="background-color:#AF6AB3">Inner text</div>
This div background color is #AF6AB3.
.myBorderColor { border: 1px solid #AF6AB3; }
<div style="border:3px solid #AF6AB3">Div</div>
This div border color is #AF6AB3.
.myOpacity80 { color: #AF6AB3; opacity: 0.8; }
<p style="color:#AF6AB3;opacity:0.8;">80%</p>
Text with #AF6AB3 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AF6AB3;}
<p style="text-shadow: 3px 3px 1px #AF6AB3">Text here.</p>
This text has shadow with #AF6AB3 color.
.textShadow {text-shadow: 3px 3px 1px #AF6AB3, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AF6AB3, 5px 5px 20px red">Text here.</p>
This text has shadow with #AF6AB3 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AF6AB3, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AF6AB3, Direction=45, Strength=4)">Text</p>
This text has shadow with #AF6AB3 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AF6AB3; -webkit-box-shadow: 1px 1px 3px 2px #AF6AB3; box-shadow: 1px 1px 3px 2px #AF6AB3; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AF6AB3; -webkit-box-shadow: 1px 1px 3px 2px #AF6AB3; box-shadow:1px 1px 3px 2px #AF6AB3;">
Div content here</div>
This text has color #AF6AB3 on black background.
This text has color #AF6AB3 on white background.
This text has black color on #AF6AB3 background.
This text has white color on #AF6AB3 background.