HEX: #AC6AAB
RGB: (172,106,171)
#AC6AAB contains mainly red and blue colors. Web safe color of #AC6AAB is #996699 (or #969).
#AC6AAB color RGB value is (172,106,171).
RGB: (172,106,171) (67%,42%,67%)
R 172 of 255 = 67%
G 106 of 255 = 42%
B 171 of 255 = 67%
R + G + B ~ 59%. #AC6AAB is middle color (not dark and not light).
R + G + B =
172 + 106 + 171 = 449 (100%)
R 172 of 449 ~ 38.31%
G 106 of 449 ~ 23.61%
B 171 of 449 ~ 38.08%
#AC6AAB color CMYK value is (0,38,1,33).
CMYK: (0,38,1,33) C0M38Y1K33 (0%,38%,1%,33%) (0.00/0.38/0.01/0.33)
AC | 6A | AB | |
---|---|---|---|
RGB | 172 | 106 | 171 |
HSL | 301° | 28.45% | 54.51% |
HSB/HSV | 301° | 38.37% | 67.45% |
CMYK | 0.00% | 38.37% | 0.58% |
32.55% |
HEX | AC | 6A | AB |
Decimal | 172 | 106 | 171 |
Binary | 10101100 | 1101010 | 10101011 |
Octal | 254 | 152 | 253 |
Examples of css and html codes for elements with #AC6AAB color. Also use rgb(172,106,171) instead hex code.
.myTextColor { color: #AC6AAB; }
<p style="color:#AC6AAB">This sample text font color is #AC6AAB.</p>
This text font color is #AC6AAB.
.myBgColor { background-color: #AC6AAB; }
<div style="background-color:#AC6AAB">Inner text</div>
This div background color is #AC6AAB.
.myBorderColor { border: 1px solid #AC6AAB; }
<div style="border:3px solid #AC6AAB">Div</div>
This div border color is #AC6AAB.
.myOpacity80 { color: #AC6AAB; opacity: 0.8; }
<p style="color:#AC6AAB;opacity:0.8;">80%</p>
Text with #AC6AAB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AC6AAB;}
<p style="text-shadow: 3px 3px 1px #AC6AAB">Text here.</p>
This text has shadow with #AC6AAB color.
.textShadow {text-shadow: 3px 3px 1px #AC6AAB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AC6AAB, 5px 5px 20px red">Text here.</p>
This text has shadow with #AC6AAB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AC6AAB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AC6AAB, Direction=45, Strength=4)">Text</p>
This text has shadow with #AC6AAB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AC6AAB; -webkit-box-shadow: 1px 1px 3px 2px #AC6AAB; box-shadow: 1px 1px 3px 2px #AC6AAB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AC6AAB; -webkit-box-shadow: 1px 1px 3px 2px #AC6AAB; box-shadow:1px 1px 3px 2px #AC6AAB;">
Div content here</div>
This text has color #AC6AAB on black background.
This text has color #AC6AAB on white background.
This text has black color on #AC6AAB background.
This text has white color on #AC6AAB background.