HEX: #A4788E
RGB: (164,120,142)
#A4788E contains red, green and blue colors in about the same proportion. Web safe color of #A4788E is #996699 (or #969).
#A4788E color RGB value is (164,120,142).
RGB: (164,120,142) (64%,47%,56%)
R 164 of 255 = 64%
G 120 of 255 = 47%
B 142 of 255 = 56%
R + G + B ~ 56%. #A4788E is middle color (not dark and not light).
R + G + B =
164 + 120 + 142 = 426 (100%)
R 164 of 426 ~ 38.5%
G 120 of 426 ~ 28.17%
B 142 of 426 ~ 33.33%
#A4788E color CMYK value is (0,27,13,36).
CMYK: (0,27,13,36) C0M27Y13K36 (0%,27%,13%,36%) (0.00/0.27/0.13/0.36)
A4 | 78 | 8E | |
---|---|---|---|
RGB | 164 | 120 | 142 |
HSL | 330° | 19.47% | 55.69% |
HSB/HSV | 330° | 26.83% | 64.31% |
CMYK | 0.00% | 26.83% | 13.41% |
35.69% |
HEX | A4 | 78 | 8E |
Decimal | 164 | 120 | 142 |
Binary | 10100100 | 1111000 | 10001110 |
Octal | 244 | 170 | 216 |
Examples of css and html codes for elements with #A4788E color. Also use rgb(164,120,142) instead hex code.
.myTextColor { color: #A4788E; }
<p style="color:#A4788E">This sample text font color is #A4788E.</p>
This text font color is #A4788E.
.myBgColor { background-color: #A4788E; }
<div style="background-color:#A4788E">Inner text</div>
This div background color is #A4788E.
.myBorderColor { border: 1px solid #A4788E; }
<div style="border:3px solid #A4788E">Div</div>
This div border color is #A4788E.
.myOpacity80 { color: #A4788E; opacity: 0.8; }
<p style="color:#A4788E;opacity:0.8;">80%</p>
Text with #A4788E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A4788E;}
<p style="text-shadow: 3px 3px 1px #A4788E">Text here.</p>
This text has shadow with #A4788E color.
.textShadow {text-shadow: 3px 3px 1px #A4788E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A4788E, 5px 5px 20px red">Text here.</p>
This text has shadow with #A4788E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A4788E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A4788E, Direction=45, Strength=4)">Text</p>
This text has shadow with #A4788E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A4788E; -webkit-box-shadow: 1px 1px 3px 2px #A4788E; box-shadow: 1px 1px 3px 2px #A4788E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A4788E; -webkit-box-shadow: 1px 1px 3px 2px #A4788E; box-shadow:1px 1px 3px 2px #A4788E;">
Div content here</div>
This text has color #A4788E on black background.
This text has color #A4788E on white background.
This text has black color on #A4788E background.
This text has white color on #A4788E background.