HEX: #AC789C
RGB: (172,120,156)
#AC789C contains red, green and blue colors in about the same proportion. Web safe color of #AC789C is #996699 (or #969).
#AC789C color RGB value is (172,120,156).
RGB: (172,120,156) (67%,47%,61%)
R 172 of 255 = 67%
G 120 of 255 = 47%
B 156 of 255 = 61%
R + G + B ~ 58%. #AC789C is middle color (not dark and not light).
R + G + B =
172 + 120 + 156 = 448 (100%)
R 172 of 448 ~ 38.39%
G 120 of 448 ~ 26.79%
B 156 of 448 ~ 34.82%
#AC789C color CMYK value is (0,30,9,33).
CMYK: (0,30,9,33) C0M30Y9K33 (0%,30%,9%,33%) (0.00/0.30/0.09/0.33)
AC | 78 | 9C | |
---|---|---|---|
RGB | 172 | 120 | 156 |
HSL | 318° | 23.85% | 57.25% |
HSB/HSV | 318° | 30.23% | 67.45% |
CMYK | 0.00% | 30.23% | 9.30% |
32.55% |
HEX | AC | 78 | 9C |
Decimal | 172 | 120 | 156 |
Binary | 10101100 | 1111000 | 10011100 |
Octal | 254 | 170 | 234 |
Examples of css and html codes for elements with #AC789C color. Also use rgb(172,120,156) instead hex code.
.myTextColor { color: #AC789C; }
<p style="color:#AC789C">This sample text font color is #AC789C.</p>
This text font color is #AC789C.
.myBgColor { background-color: #AC789C; }
<div style="background-color:#AC789C">Inner text</div>
This div background color is #AC789C.
.myBorderColor { border: 1px solid #AC789C; }
<div style="border:3px solid #AC789C">Div</div>
This div border color is #AC789C.
.myOpacity80 { color: #AC789C; opacity: 0.8; }
<p style="color:#AC789C;opacity:0.8;">80%</p>
Text with #AC789C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AC789C;}
<p style="text-shadow: 3px 3px 1px #AC789C">Text here.</p>
This text has shadow with #AC789C color.
.textShadow {text-shadow: 3px 3px 1px #AC789C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AC789C, 5px 5px 20px red">Text here.</p>
This text has shadow with #AC789C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AC789C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AC789C, Direction=45, Strength=4)">Text</p>
This text has shadow with #AC789C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AC789C; -webkit-box-shadow: 1px 1px 3px 2px #AC789C; box-shadow: 1px 1px 3px 2px #AC789C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AC789C; -webkit-box-shadow: 1px 1px 3px 2px #AC789C; box-shadow:1px 1px 3px 2px #AC789C;">
Div content here</div>
This text has color #AC789C on black background.
This text has color #AC789C on white background.
This text has black color on #AC789C background.
This text has white color on #AC789C background.