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