HEX: #AC9FD9
RGB: (172,159,217)
#AC9FD9 contains red, green and blue colors in about the same proportion. Web safe color of #AC9FD9 is #9999CC (or #99C).
#AC9FD9 color RGB value is (172,159,217).
RGB: (172,159,217) (67%,62%,85%)
R 172 of 255 = 67%
G 159 of 255 = 62%
B 217 of 255 = 85%
R + G + B ~ 71%. #AC9FD9 is quite light color.
R + G + B =
172 + 159 + 217 = 548 (100%)
R 172 of 548 ~ 31.39%
G 159 of 548 ~ 29.01%
B 217 of 548 ~ 39.6%
#AC9FD9 color CMYK value is (21,27,0,15).
CMYK: (21,27,0,15) C21M27Y0K15 (21%,27%,0%,15%) (0.21/0.27/0.00/0.15)
AC | 9F | D9 | |
---|---|---|---|
RGB | 172 | 159 | 217 |
HSL | 253° | 43.28% | 73.73% |
HSB/HSV | 253° | 26.73% | 85.10% |
CMYK | 20.74% | 26.73% | 0.00% |
14.90% |
HEX | AC | 9F | D9 |
Decimal | 172 | 159 | 217 |
Binary | 10101100 | 10011111 | 11011001 |
Octal | 254 | 237 | 331 |
Examples of css and html codes for elements with #AC9FD9 color. Also use rgb(172,159,217) instead hex code.
.myTextColor { color: #AC9FD9; }
<p style="color:#AC9FD9">This sample text font color is #AC9FD9.</p>
This text font color is #AC9FD9.
.myBgColor { background-color: #AC9FD9; }
<div style="background-color:#AC9FD9">Inner text</div>
This div background color is #AC9FD9.
.myBorderColor { border: 1px solid #AC9FD9; }
<div style="border:3px solid #AC9FD9">Div</div>
This div border color is #AC9FD9.
.myOpacity80 { color: #AC9FD9; opacity: 0.8; }
<p style="color:#AC9FD9;opacity:0.8;">80%</p>
Text with #AC9FD9 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AC9FD9;}
<p style="text-shadow: 3px 3px 1px #AC9FD9">Text here.</p>
This text has shadow with #AC9FD9 color.
.textShadow {text-shadow: 3px 3px 1px #AC9FD9, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AC9FD9, 5px 5px 20px red">Text here.</p>
This text has shadow with #AC9FD9 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AC9FD9, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AC9FD9, Direction=45, Strength=4)">Text</p>
This text has shadow with #AC9FD9 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AC9FD9; -webkit-box-shadow: 1px 1px 3px 2px #AC9FD9; box-shadow: 1px 1px 3px 2px #AC9FD9; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AC9FD9; -webkit-box-shadow: 1px 1px 3px 2px #AC9FD9; box-shadow:1px 1px 3px 2px #AC9FD9;">
Div content here</div>
This text has color #AC9FD9 on black background.
This text has color #AC9FD9 on white background.
This text has black color on #AC9FD9 background.
This text has white color on #AC9FD9 background.