HEX: #AF4696
RGB: (175,70,150)
#AF4696 contains mainly red and blue colors. Web safe color of #AF4696 is #993399 (or #939).
#AF4696 color RGB value is (175,70,150).
RGB: (175,70,150) (69%,27%,59%)
R 175 of 255 = 69%
G 70 of 255 = 27%
B 150 of 255 = 59%
R + G + B ~ 52%. #AF4696 is middle color (not dark and not light).
R + G + B =
175 + 70 + 150 = 395 (100%)
R 175 of 395 ~ 44.3%
G 70 of 395 ~ 17.72%
B 150 of 395 ~ 37.97%
#AF4696 color CMYK value is (0,60,14,31).
CMYK: (0,60,14,31) C0M60Y14K31 (0%,60%,14%,31%) (0.00/0.60/0.14/0.31)
AF | 46 | 96 | |
---|---|---|---|
RGB | 175 | 70 | 150 |
HSL | 314° | 42.86% | 48.04% |
HSB/HSV | 314° | 60.00% | 68.63% |
CMYK | 0.00% | 60.00% | 14.29% |
31.37% |
HEX | AF | 46 | 96 |
Decimal | 175 | 70 | 150 |
Binary | 10101111 | 1000110 | 10010110 |
Octal | 257 | 106 | 226 |
Examples of css and html codes for elements with #AF4696 color. Also use rgb(175,70,150) instead hex code.
.myTextColor { color: #AF4696; }
<p style="color:#AF4696">This sample text font color is #AF4696.</p>
This text font color is #AF4696.
.myBgColor { background-color: #AF4696; }
<div style="background-color:#AF4696">Inner text</div>
This div background color is #AF4696.
.myBorderColor { border: 1px solid #AF4696; }
<div style="border:3px solid #AF4696">Div</div>
This div border color is #AF4696.
.myOpacity80 { color: #AF4696; opacity: 0.8; }
<p style="color:#AF4696;opacity:0.8;">80%</p>
Text with #AF4696 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AF4696;}
<p style="text-shadow: 3px 3px 1px #AF4696">Text here.</p>
This text has shadow with #AF4696 color.
.textShadow {text-shadow: 3px 3px 1px #AF4696, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AF4696, 5px 5px 20px red">Text here.</p>
This text has shadow with #AF4696 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AF4696, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AF4696, Direction=45, Strength=4)">Text</p>
This text has shadow with #AF4696 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AF4696; -webkit-box-shadow: 1px 1px 3px 2px #AF4696; box-shadow: 1px 1px 3px 2px #AF4696; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AF4696; -webkit-box-shadow: 1px 1px 3px 2px #AF4696; box-shadow:1px 1px 3px 2px #AF4696;">
Div content here</div>
This text has color #AF4696 on black background.
This text has color #AF4696 on white background.
This text has black color on #AF4696 background.
This text has white color on #AF4696 background.