HEX: #AC787E
RGB: (172,120,126)
#AC787E contains red, green and blue colors in about the same proportion. Web safe color of #AC787E is #996666 (or #966).
#AC787E color RGB value is (172,120,126).
RGB: (172,120,126) (67%,47%,49%)
R 172 of 255 = 67%
G 120 of 255 = 47%
B 126 of 255 = 49%
R + G + B ~ 54%. #AC787E is middle color (not dark and not light).
R + G + B =
172 + 120 + 126 = 418 (100%)
R 172 of 418 ~ 41.15%
G 120 of 418 ~ 28.71%
B 126 of 418 ~ 30.14%
#AC787E color CMYK value is (0,30,27,33).
CMYK: (0,30,27,33) C0M30Y27K33 (0%,30%,27%,33%) (0.00/0.30/0.27/0.33)
AC | 78 | 7E | |
---|---|---|---|
RGB | 172 | 120 | 126 |
HSL | 353° | 23.85% | 57.25% |
HSB/HSV | 353° | 30.23% | 67.45% |
CMYK | 0.00% | 30.23% | 26.74% |
32.55% |
HEX | AC | 78 | 7E |
Decimal | 172 | 120 | 126 |
Binary | 10101100 | 1111000 | 1111110 |
Octal | 254 | 170 | 176 |
Examples of css and html codes for elements with #AC787E color. Also use rgb(172,120,126) instead hex code.
.myTextColor { color: #AC787E; }
<p style="color:#AC787E">This sample text font color is #AC787E.</p>
This text font color is #AC787E.
.myBgColor { background-color: #AC787E; }
<div style="background-color:#AC787E">Inner text</div>
This div background color is #AC787E.
.myBorderColor { border: 1px solid #AC787E; }
<div style="border:3px solid #AC787E">Div</div>
This div border color is #AC787E.
.myOpacity80 { color: #AC787E; opacity: 0.8; }
<p style="color:#AC787E;opacity:0.8;">80%</p>
Text with #AC787E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AC787E;}
<p style="text-shadow: 3px 3px 1px #AC787E">Text here.</p>
This text has shadow with #AC787E color.
.textShadow {text-shadow: 3px 3px 1px #AC787E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AC787E, 5px 5px 20px red">Text here.</p>
This text has shadow with #AC787E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AC787E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AC787E, Direction=45, Strength=4)">Text</p>
This text has shadow with #AC787E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AC787E; -webkit-box-shadow: 1px 1px 3px 2px #AC787E; box-shadow: 1px 1px 3px 2px #AC787E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AC787E; -webkit-box-shadow: 1px 1px 3px 2px #AC787E; box-shadow:1px 1px 3px 2px #AC787E;">
Div content here</div>
This text has color #AC787E on black background.
This text has color #AC787E on white background.
This text has black color on #AC787E background.
This text has white color on #AC787E background.