HEX: #AF72A6
RGB: (175,114,166)
#AF72A6 contains mainly red and blue colors. Web safe color of #AF72A6 is #996699 (or #969).
#AF72A6 color RGB value is (175,114,166).
RGB: (175,114,166) (69%,45%,65%)
R 175 of 255 = 69%
G 114 of 255 = 45%
B 166 of 255 = 65%
R + G + B ~ 60%. #AF72A6 is middle color (not dark and not light).
R + G + B =
175 + 114 + 166 = 455 (100%)
R 175 of 455 ~ 38.46%
G 114 of 455 ~ 25.05%
B 166 of 455 ~ 36.48%
#AF72A6 color CMYK value is (0,35,5,31).
CMYK: (0,35,5,31) C0M35Y5K31 (0%,35%,5%,31%) (0.00/0.35/0.05/0.31)
AF | 72 | A6 | |
---|---|---|---|
RGB | 175 | 114 | 166 |
HSL | 309° | 27.60% | 56.67% |
HSB/HSV | 309° | 34.86% | 68.63% |
CMYK | 0.00% | 34.86% | 5.14% |
31.37% |
HEX | AF | 72 | A6 |
Decimal | 175 | 114 | 166 |
Binary | 10101111 | 1110010 | 10100110 |
Octal | 257 | 162 | 246 |
Examples of css and html codes for elements with #AF72A6 color. Also use rgb(175,114,166) instead hex code.
.myTextColor { color: #AF72A6; }
<p style="color:#AF72A6">This sample text font color is #AF72A6.</p>
This text font color is #AF72A6.
.myBgColor { background-color: #AF72A6; }
<div style="background-color:#AF72A6">Inner text</div>
This div background color is #AF72A6.
.myBorderColor { border: 1px solid #AF72A6; }
<div style="border:3px solid #AF72A6">Div</div>
This div border color is #AF72A6.
.myOpacity80 { color: #AF72A6; opacity: 0.8; }
<p style="color:#AF72A6;opacity:0.8;">80%</p>
Text with #AF72A6 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AF72A6;}
<p style="text-shadow: 3px 3px 1px #AF72A6">Text here.</p>
This text has shadow with #AF72A6 color.
.textShadow {text-shadow: 3px 3px 1px #AF72A6, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AF72A6, 5px 5px 20px red">Text here.</p>
This text has shadow with #AF72A6 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AF72A6, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AF72A6, Direction=45, Strength=4)">Text</p>
This text has shadow with #AF72A6 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AF72A6; -webkit-box-shadow: 1px 1px 3px 2px #AF72A6; box-shadow: 1px 1px 3px 2px #AF72A6; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AF72A6; -webkit-box-shadow: 1px 1px 3px 2px #AF72A6; box-shadow:1px 1px 3px 2px #AF72A6;">
Div content here</div>
This text has color #AF72A6 on black background.
This text has color #AF72A6 on white background.
This text has black color on #AF72A6 background.
This text has white color on #AF72A6 background.