HEX: #AD789E
RGB: (173,120,158)
#AD789E contains red, green and blue colors in about the same proportion. Web safe color of #AD789E is #996699 (or #969).
#AD789E color RGB value is (173,120,158).
RGB: (173,120,158) (68%,47%,62%)
R 173 of 255 = 68%
G 120 of 255 = 47%
B 158 of 255 = 62%
R + G + B ~ 59%. #AD789E is middle color (not dark and not light).
R + G + B =
173 + 120 + 158 = 451 (100%)
R 173 of 451 ~ 38.36%
G 120 of 451 ~ 26.61%
B 158 of 451 ~ 35.03%
#AD789E color CMYK value is (0,31,9,32).
CMYK: (0,31,9,32) C0M31Y9K32 (0%,31%,9%,32%) (0.00/0.31/0.09/0.32)
AD | 78 | 9E | |
---|---|---|---|
RGB | 173 | 120 | 158 |
HSL | 317° | 24.42% | 57.45% |
HSB/HSV | 317° | 30.64% | 67.84% |
CMYK | 0.00% | 30.64% | 8.67% |
32.16% |
HEX | AD | 78 | 9E |
Decimal | 173 | 120 | 158 |
Binary | 10101101 | 1111000 | 10011110 |
Octal | 255 | 170 | 236 |
Examples of css and html codes for elements with #AD789E color. Also use rgb(173,120,158) instead hex code.
.myTextColor { color: #AD789E; }
<p style="color:#AD789E">This sample text font color is #AD789E.</p>
This text font color is #AD789E.
.myBgColor { background-color: #AD789E; }
<div style="background-color:#AD789E">Inner text</div>
This div background color is #AD789E.
.myBorderColor { border: 1px solid #AD789E; }
<div style="border:3px solid #AD789E">Div</div>
This div border color is #AD789E.
.myOpacity80 { color: #AD789E; opacity: 0.8; }
<p style="color:#AD789E;opacity:0.8;">80%</p>
Text with #AD789E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AD789E;}
<p style="text-shadow: 3px 3px 1px #AD789E">Text here.</p>
This text has shadow with #AD789E color.
.textShadow {text-shadow: 3px 3px 1px #AD789E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AD789E, 5px 5px 20px red">Text here.</p>
This text has shadow with #AD789E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AD789E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AD789E, Direction=45, Strength=4)">Text</p>
This text has shadow with #AD789E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AD789E; -webkit-box-shadow: 1px 1px 3px 2px #AD789E; box-shadow: 1px 1px 3px 2px #AD789E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AD789E; -webkit-box-shadow: 1px 1px 3px 2px #AD789E; box-shadow:1px 1px 3px 2px #AD789E;">
Div content here</div>
This text has color #AD789E on black background.
This text has color #AD789E on white background.
This text has black color on #AD789E background.
This text has white color on #AD789E background.