HEX: #AA728C
RGB: (170,114,140)
#AA728C contains red, green and blue colors in about the same proportion. Web safe color of #AA728C is #996699 (or #969).
#AA728C color RGB value is (170,114,140).
RGB: (170,114,140) (67%,45%,55%)
R 170 of 255 = 67%
G 114 of 255 = 45%
B 140 of 255 = 55%
R + G + B ~ 56%. #AA728C is middle color (not dark and not light).
R + G + B =
170 + 114 + 140 = 424 (100%)
R 170 of 424 ~ 40.09%
G 114 of 424 ~ 26.89%
B 140 of 424 ~ 33.02%
#AA728C color CMYK value is (0,33,18,33).
CMYK: (0,33,18,33) C0M33Y18K33 (0%,33%,18%,33%) (0.00/0.33/0.18/0.33)
AA | 72 | 8C | |
---|---|---|---|
RGB | 170 | 114 | 140 |
HSL | 332° | 24.78% | 55.69% |
HSB/HSV | 332° | 32.94% | 66.67% |
CMYK | 0.00% | 32.94% | 17.65% |
33.33% |
HEX | AA | 72 | 8C |
Decimal | 170 | 114 | 140 |
Binary | 10101010 | 1110010 | 10001100 |
Octal | 252 | 162 | 214 |
Examples of css and html codes for elements with #AA728C color. Also use rgb(170,114,140) instead hex code.
.myTextColor { color: #AA728C; }
<p style="color:#AA728C">This sample text font color is #AA728C.</p>
This text font color is #AA728C.
.myBgColor { background-color: #AA728C; }
<div style="background-color:#AA728C">Inner text</div>
This div background color is #AA728C.
.myBorderColor { border: 1px solid #AA728C; }
<div style="border:3px solid #AA728C">Div</div>
This div border color is #AA728C.
.myOpacity80 { color: #AA728C; opacity: 0.8; }
<p style="color:#AA728C;opacity:0.8;">80%</p>
Text with #AA728C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AA728C;}
<p style="text-shadow: 3px 3px 1px #AA728C">Text here.</p>
This text has shadow with #AA728C color.
.textShadow {text-shadow: 3px 3px 1px #AA728C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AA728C, 5px 5px 20px red">Text here.</p>
This text has shadow with #AA728C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AA728C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AA728C, Direction=45, Strength=4)">Text</p>
This text has shadow with #AA728C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AA728C; -webkit-box-shadow: 1px 1px 3px 2px #AA728C; box-shadow: 1px 1px 3px 2px #AA728C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AA728C; -webkit-box-shadow: 1px 1px 3px 2px #AA728C; box-shadow:1px 1px 3px 2px #AA728C;">
Div content here</div>
This text has color #AA728C on black background.
This text has color #AA728C on white background.
This text has black color on #AA728C background.
This text has white color on #AA728C background.