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