HEX: #AC97D1
RGB: (172,151,209)
#AC97D1 contains red, green and blue colors in about the same proportion. Web safe color of #AC97D1 is #9999CC (or #99C).
#AC97D1 color RGB value is (172,151,209).
RGB: (172,151,209) (67%,59%,82%)
R 172 of 255 = 67%
G 151 of 255 = 59%
B 209 of 255 = 82%
R + G + B ~ 69%. #AC97D1 is quite light color.
R + G + B =
172 + 151 + 209 = 532 (100%)
R 172 of 532 ~ 32.33%
G 151 of 532 ~ 28.38%
B 209 of 532 ~ 39.29%
#AC97D1 color CMYK value is (18,28,0,18).
CMYK: (18,28,0,18) C18M28Y0K18 (18%,28%,0%,18%) (0.18/0.28/0.00/0.18)
AC | 97 | D1 | |
---|---|---|---|
RGB | 172 | 151 | 209 |
HSL | 262° | 38.67% | 70.59% |
HSB/HSV | 262° | 27.75% | 81.96% |
CMYK | 17.70% | 27.75% | 0.00% |
18.04% |
HEX | AC | 97 | D1 |
Decimal | 172 | 151 | 209 |
Binary | 10101100 | 10010111 | 11010001 |
Octal | 254 | 227 | 321 |
Examples of css and html codes for elements with #AC97D1 color. Also use rgb(172,151,209) instead hex code.
.myTextColor { color: #AC97D1; }
<p style="color:#AC97D1">This sample text font color is #AC97D1.</p>
This text font color is #AC97D1.
.myBgColor { background-color: #AC97D1; }
<div style="background-color:#AC97D1">Inner text</div>
This div background color is #AC97D1.
.myBorderColor { border: 1px solid #AC97D1; }
<div style="border:3px solid #AC97D1">Div</div>
This div border color is #AC97D1.
.myOpacity80 { color: #AC97D1; opacity: 0.8; }
<p style="color:#AC97D1;opacity:0.8;">80%</p>
Text with #AC97D1 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AC97D1;}
<p style="text-shadow: 3px 3px 1px #AC97D1">Text here.</p>
This text has shadow with #AC97D1 color.
.textShadow {text-shadow: 3px 3px 1px #AC97D1, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AC97D1, 5px 5px 20px red">Text here.</p>
This text has shadow with #AC97D1 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AC97D1, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AC97D1, Direction=45, Strength=4)">Text</p>
This text has shadow with #AC97D1 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AC97D1; -webkit-box-shadow: 1px 1px 3px 2px #AC97D1; box-shadow: 1px 1px 3px 2px #AC97D1; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AC97D1; -webkit-box-shadow: 1px 1px 3px 2px #AC97D1; box-shadow:1px 1px 3px 2px #AC97D1;">
Div content here</div>
This text has color #AC97D1 on black background.
This text has color #AC97D1 on white background.
This text has black color on #AC97D1 background.
This text has white color on #AC97D1 background.