HEX: #AA7D8D
RGB: (170,125,141)
#AA7D8D contains red, green and blue colors in about the same proportion. Web safe color of #AA7D8D is #996699 (or #969).
#AA7D8D color RGB value is (170,125,141).
RGB: (170,125,141) (67%,49%,55%)
R 170 of 255 = 67%
G 125 of 255 = 49%
B 141 of 255 = 55%
R + G + B ~ 57%. #AA7D8D is middle color (not dark and not light).
R + G + B =
170 + 125 + 141 = 436 (100%)
R 170 of 436 ~ 38.99%
G 125 of 436 ~ 28.67%
B 141 of 436 ~ 32.34%
#AA7D8D color CMYK value is (0,26,17,33).
CMYK: (0,26,17,33) C0M26Y17K33 (0%,26%,17%,33%) (0.00/0.26/0.17/0.33)
AA | 7D | 8D | |
---|---|---|---|
RGB | 170 | 125 | 141 |
HSL | 339° | 20.93% | 57.84% |
HSB/HSV | 339° | 26.47% | 66.67% |
CMYK | 0.00% | 26.47% | 17.06% |
33.33% |
HEX | AA | 7D | 8D |
Decimal | 170 | 125 | 141 |
Binary | 10101010 | 1111101 | 10001101 |
Octal | 252 | 175 | 215 |
Examples of css and html codes for elements with #AA7D8D color. Also use rgb(170,125,141) instead hex code.
.myTextColor { color: #AA7D8D; }
<p style="color:#AA7D8D">This sample text font color is #AA7D8D.</p>
This text font color is #AA7D8D.
.myBgColor { background-color: #AA7D8D; }
<div style="background-color:#AA7D8D">Inner text</div>
This div background color is #AA7D8D.
.myBorderColor { border: 1px solid #AA7D8D; }
<div style="border:3px solid #AA7D8D">Div</div>
This div border color is #AA7D8D.
.myOpacity80 { color: #AA7D8D; opacity: 0.8; }
<p style="color:#AA7D8D;opacity:0.8;">80%</p>
Text with #AA7D8D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AA7D8D;}
<p style="text-shadow: 3px 3px 1px #AA7D8D">Text here.</p>
This text has shadow with #AA7D8D color.
.textShadow {text-shadow: 3px 3px 1px #AA7D8D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AA7D8D, 5px 5px 20px red">Text here.</p>
This text has shadow with #AA7D8D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AA7D8D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AA7D8D, Direction=45, Strength=4)">Text</p>
This text has shadow with #AA7D8D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AA7D8D; -webkit-box-shadow: 1px 1px 3px 2px #AA7D8D; box-shadow: 1px 1px 3px 2px #AA7D8D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AA7D8D; -webkit-box-shadow: 1px 1px 3px 2px #AA7D8D; box-shadow:1px 1px 3px 2px #AA7D8D;">
Div content here</div>
This text has color #AA7D8D on black background.
This text has color #AA7D8D on white background.
This text has black color on #AA7D8D background.
This text has white color on #AA7D8D background.