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