HEX: #AF70A5
RGB: (175,112,165)
#AF70A5 contains mainly red and blue colors. Web safe color of #AF70A5 is #996699 (or #969).
#AF70A5 color RGB value is (175,112,165).
RGB: (175,112,165) (69%,44%,65%)
R 175 of 255 = 69%
G 112 of 255 = 44%
B 165 of 255 = 65%
R + G + B ~ 59%. #AF70A5 is middle color (not dark and not light).
R + G + B =
175 + 112 + 165 = 452 (100%)
R 175 of 452 ~ 38.72%
G 112 of 452 ~ 24.78%
B 165 of 452 ~ 36.5%
#AF70A5 color CMYK value is (0,36,6,31).
CMYK: (0,36,6,31) C0M36Y6K31 (0%,36%,6%,31%) (0.00/0.36/0.06/0.31)
AF | 70 | A5 | |
---|---|---|---|
RGB | 175 | 112 | 165 |
HSL | 310° | 28.25% | 56.27% |
HSB/HSV | 310° | 36.00% | 68.63% |
CMYK | 0.00% | 36.00% | 5.71% |
31.37% |
HEX | AF | 70 | A5 |
Decimal | 175 | 112 | 165 |
Binary | 10101111 | 1110000 | 10100101 |
Octal | 257 | 160 | 245 |
Examples of css and html codes for elements with #AF70A5 color. Also use rgb(175,112,165) instead hex code.
.myTextColor { color: #AF70A5; }
<p style="color:#AF70A5">This sample text font color is #AF70A5.</p>
This text font color is #AF70A5.
.myBgColor { background-color: #AF70A5; }
<div style="background-color:#AF70A5">Inner text</div>
This div background color is #AF70A5.
.myBorderColor { border: 1px solid #AF70A5; }
<div style="border:3px solid #AF70A5">Div</div>
This div border color is #AF70A5.
.myOpacity80 { color: #AF70A5; opacity: 0.8; }
<p style="color:#AF70A5;opacity:0.8;">80%</p>
Text with #AF70A5 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AF70A5;}
<p style="text-shadow: 3px 3px 1px #AF70A5">Text here.</p>
This text has shadow with #AF70A5 color.
.textShadow {text-shadow: 3px 3px 1px #AF70A5, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AF70A5, 5px 5px 20px red">Text here.</p>
This text has shadow with #AF70A5 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AF70A5, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AF70A5, Direction=45, Strength=4)">Text</p>
This text has shadow with #AF70A5 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AF70A5; -webkit-box-shadow: 1px 1px 3px 2px #AF70A5; box-shadow: 1px 1px 3px 2px #AF70A5; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AF70A5; -webkit-box-shadow: 1px 1px 3px 2px #AF70A5; box-shadow:1px 1px 3px 2px #AF70A5;">
Div content here</div>
This text has color #AF70A5 on black background.
This text has color #AF70A5 on white background.
This text has black color on #AF70A5 background.
This text has white color on #AF70A5 background.