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