HEX: #AA66A5
RGB: (170,102,165)
#AA66A5 contains mainly red and blue colors. Web safe color of #AA66A5 is #996699 (or #969).
#AA66A5 color RGB value is (170,102,165).
RGB: (170,102,165) (67%,40%,65%)
R 170 of 255 = 67%
G 102 of 255 = 40%
B 165 of 255 = 65%
R + G + B ~ 57%. #AA66A5 is middle color (not dark and not light).
R + G + B =
170 + 102 + 165 = 437 (100%)
R 170 of 437 ~ 38.9%
G 102 of 437 ~ 23.34%
B 165 of 437 ~ 37.76%
#AA66A5 color CMYK value is (0,40,3,33).
CMYK: (0,40,3,33) C0M40Y3K33 (0%,40%,3%,33%) (0.00/0.40/0.03/0.33)
AA | 66 | A5 | |
---|---|---|---|
RGB | 170 | 102 | 165 |
HSL | 304° | 28.57% | 53.33% |
HSB/HSV | 304° | 40.00% | 66.67% |
CMYK | 0.00% | 40.00% | 2.94% |
33.33% |
HEX | AA | 66 | A5 |
Decimal | 170 | 102 | 165 |
Binary | 10101010 | 1100110 | 10100101 |
Octal | 252 | 146 | 245 |
Examples of css and html codes for elements with #AA66A5 color. Also use rgb(170,102,165) instead hex code.
.myTextColor { color: #AA66A5; }
<p style="color:#AA66A5">This sample text font color is #AA66A5.</p>
This text font color is #AA66A5.
.myBgColor { background-color: #AA66A5; }
<div style="background-color:#AA66A5">Inner text</div>
This div background color is #AA66A5.
.myBorderColor { border: 1px solid #AA66A5; }
<div style="border:3px solid #AA66A5">Div</div>
This div border color is #AA66A5.
.myOpacity80 { color: #AA66A5; opacity: 0.8; }
<p style="color:#AA66A5;opacity:0.8;">80%</p>
Text with #AA66A5 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AA66A5;}
<p style="text-shadow: 3px 3px 1px #AA66A5">Text here.</p>
This text has shadow with #AA66A5 color.
.textShadow {text-shadow: 3px 3px 1px #AA66A5, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AA66A5, 5px 5px 20px red">Text here.</p>
This text has shadow with #AA66A5 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AA66A5, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AA66A5, Direction=45, Strength=4)">Text</p>
This text has shadow with #AA66A5 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AA66A5; -webkit-box-shadow: 1px 1px 3px 2px #AA66A5; box-shadow: 1px 1px 3px 2px #AA66A5; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AA66A5; -webkit-box-shadow: 1px 1px 3px 2px #AA66A5; box-shadow:1px 1px 3px 2px #AA66A5;">
Div content here</div>
This text has color #AA66A5 on black background.
This text has color #AA66A5 on white background.
This text has black color on #AA66A5 background.
This text has white color on #AA66A5 background.