HEX: #AA519F
RGB: (170,81,159)
#AA519F contains mainly red and blue colors. Web safe color of #AA519F is #996699 (or #969).
#AA519F color RGB value is (170,81,159).
RGB: (170,81,159) (67%,32%,62%)
R 170 of 255 = 67%
G 81 of 255 = 32%
B 159 of 255 = 62%
R + G + B ~ 54%. #AA519F is middle color (not dark and not light).
R + G + B =
170 + 81 + 159 = 410 (100%)
R 170 of 410 ~ 41.46%
G 81 of 410 ~ 19.76%
B 159 of 410 ~ 38.78%
#AA519F color CMYK value is (0,52,6,33).
CMYK: (0,52,6,33) C0M52Y6K33 (0%,52%,6%,33%) (0.00/0.52/0.06/0.33)
AA | 51 | 9F | |
---|---|---|---|
RGB | 170 | 81 | 159 |
HSL | 307° | 35.46% | 49.22% |
HSB/HSV | 307° | 52.35% | 66.67% |
CMYK | 0.00% | 52.35% | 6.47% |
33.33% |
HEX | AA | 51 | 9F |
Decimal | 170 | 81 | 159 |
Binary | 10101010 | 1010001 | 10011111 |
Octal | 252 | 121 | 237 |
Examples of css and html codes for elements with #AA519F color. Also use rgb(170,81,159) instead hex code.
.myTextColor { color: #AA519F; }
<p style="color:#AA519F">This sample text font color is #AA519F.</p>
This text font color is #AA519F.
.myBgColor { background-color: #AA519F; }
<div style="background-color:#AA519F">Inner text</div>
This div background color is #AA519F.
.myBorderColor { border: 1px solid #AA519F; }
<div style="border:3px solid #AA519F">Div</div>
This div border color is #AA519F.
.myOpacity80 { color: #AA519F; opacity: 0.8; }
<p style="color:#AA519F;opacity:0.8;">80%</p>
Text with #AA519F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AA519F;}
<p style="text-shadow: 3px 3px 1px #AA519F">Text here.</p>
This text has shadow with #AA519F color.
.textShadow {text-shadow: 3px 3px 1px #AA519F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AA519F, 5px 5px 20px red">Text here.</p>
This text has shadow with #AA519F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AA519F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AA519F, Direction=45, Strength=4)">Text</p>
This text has shadow with #AA519F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AA519F; -webkit-box-shadow: 1px 1px 3px 2px #AA519F; box-shadow: 1px 1px 3px 2px #AA519F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AA519F; -webkit-box-shadow: 1px 1px 3px 2px #AA519F; box-shadow:1px 1px 3px 2px #AA519F;">
Div content here</div>
This text has color #AA519F on black background.
This text has color #AA519F on white background.
This text has black color on #AA519F background.
This text has white color on #AA519F background.