HEX: #AA7EA5
RGB: (170,126,165)
#AA7EA5 contains red, green and blue colors in about the same proportion. Web safe color of #AA7EA5 is #996699 (or #969).
#AA7EA5 color RGB value is (170,126,165).
RGB: (170,126,165) (67%,49%,65%)
R 170 of 255 = 67%
G 126 of 255 = 49%
B 165 of 255 = 65%
R + G + B ~ 60%. #AA7EA5 is middle color (not dark and not light).
R + G + B =
170 + 126 + 165 = 461 (100%)
R 170 of 461 ~ 36.88%
G 126 of 461 ~ 27.33%
B 165 of 461 ~ 35.79%
#AA7EA5 color CMYK value is (0,26,3,33).
CMYK: (0,26,3,33) C0M26Y3K33 (0%,26%,3%,33%) (0.00/0.26/0.03/0.33)
AA | 7E | A5 | |
---|---|---|---|
RGB | 170 | 126 | 165 |
HSL | 307° | 20.56% | 58.04% |
HSB/HSV | 307° | 25.88% | 66.67% |
CMYK | 0.00% | 25.88% | 2.94% |
33.33% |
HEX | AA | 7E | A5 |
Decimal | 170 | 126 | 165 |
Binary | 10101010 | 1111110 | 10100101 |
Octal | 252 | 176 | 245 |
Examples of css and html codes for elements with #AA7EA5 color. Also use rgb(170,126,165) instead hex code.
.myTextColor { color: #AA7EA5; }
<p style="color:#AA7EA5">This sample text font color is #AA7EA5.</p>
This text font color is #AA7EA5.
.myBgColor { background-color: #AA7EA5; }
<div style="background-color:#AA7EA5">Inner text</div>
This div background color is #AA7EA5.
.myBorderColor { border: 1px solid #AA7EA5; }
<div style="border:3px solid #AA7EA5">Div</div>
This div border color is #AA7EA5.
.myOpacity80 { color: #AA7EA5; opacity: 0.8; }
<p style="color:#AA7EA5;opacity:0.8;">80%</p>
Text with #AA7EA5 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AA7EA5;}
<p style="text-shadow: 3px 3px 1px #AA7EA5">Text here.</p>
This text has shadow with #AA7EA5 color.
.textShadow {text-shadow: 3px 3px 1px #AA7EA5, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AA7EA5, 5px 5px 20px red">Text here.</p>
This text has shadow with #AA7EA5 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AA7EA5, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AA7EA5, Direction=45, Strength=4)">Text</p>
This text has shadow with #AA7EA5 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AA7EA5; -webkit-box-shadow: 1px 1px 3px 2px #AA7EA5; box-shadow: 1px 1px 3px 2px #AA7EA5; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AA7EA5; -webkit-box-shadow: 1px 1px 3px 2px #AA7EA5; box-shadow:1px 1px 3px 2px #AA7EA5;">
Div content here</div>
This text has color #AA7EA5 on black background.
This text has color #AA7EA5 on white background.
This text has black color on #AA7EA5 background.
This text has white color on #AA7EA5 background.