HEX: #AA7BAB
RGB: (170,123,171)
#AA7BAB contains red, green and blue colors in about the same proportion. Web safe color of #AA7BAB is #996699 (or #969).
#AA7BAB color RGB value is (170,123,171).
RGB: (170,123,171) (67%,48%,67%)
R 170 of 255 = 67%
G 123 of 255 = 48%
B 171 of 255 = 67%
R + G + B ~ 61%. #AA7BAB is quite light color.
R + G + B =
170 + 123 + 171 = 464 (100%)
R 170 of 464 ~ 36.64%
G 123 of 464 ~ 26.51%
B 171 of 464 ~ 36.85%
#AA7BAB color CMYK value is (1,28,0,33).
CMYK: (1,28,0,33) C1M28Y0K33 (1%,28%,0%,33%) (0.01/0.28/0.00/0.33)
AA | 7B | AB | |
---|---|---|---|
RGB | 170 | 123 | 171 |
HSL | 299° | 22.22% | 57.65% |
HSB/HSV | 299° | 28.07% | 67.06% |
CMYK | 0.58% | 28.07% | 0.00% |
32.94% |
HEX | AA | 7B | AB |
Decimal | 170 | 123 | 171 |
Binary | 10101010 | 1111011 | 10101011 |
Octal | 252 | 173 | 253 |
Examples of css and html codes for elements with #AA7BAB color. Also use rgb(170,123,171) instead hex code.
.myTextColor { color: #AA7BAB; }
<p style="color:#AA7BAB">This sample text font color is #AA7BAB.</p>
This text font color is #AA7BAB.
.myBgColor { background-color: #AA7BAB; }
<div style="background-color:#AA7BAB">Inner text</div>
This div background color is #AA7BAB.
.myBorderColor { border: 1px solid #AA7BAB; }
<div style="border:3px solid #AA7BAB">Div</div>
This div border color is #AA7BAB.
.myOpacity80 { color: #AA7BAB; opacity: 0.8; }
<p style="color:#AA7BAB;opacity:0.8;">80%</p>
Text with #AA7BAB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AA7BAB;}
<p style="text-shadow: 3px 3px 1px #AA7BAB">Text here.</p>
This text has shadow with #AA7BAB color.
.textShadow {text-shadow: 3px 3px 1px #AA7BAB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AA7BAB, 5px 5px 20px red">Text here.</p>
This text has shadow with #AA7BAB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AA7BAB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AA7BAB, Direction=45, Strength=4)">Text</p>
This text has shadow with #AA7BAB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AA7BAB; -webkit-box-shadow: 1px 1px 3px 2px #AA7BAB; box-shadow: 1px 1px 3px 2px #AA7BAB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AA7BAB; -webkit-box-shadow: 1px 1px 3px 2px #AA7BAB; box-shadow:1px 1px 3px 2px #AA7BAB;">
Div content here</div>
This text has color #AA7BAB on black background.
This text has color #AA7BAB on white background.
This text has black color on #AA7BAB background.
This text has white color on #AA7BAB background.