HEX: #AC7C9F
RGB: (172,124,159)
#AC7C9F contains red, green and blue colors in about the same proportion. Web safe color of #AC7C9F is #996699 (or #969).
#AC7C9F color RGB value is (172,124,159).
RGB: (172,124,159) (67%,49%,62%)
R 172 of 255 = 67%
G 124 of 255 = 49%
B 159 of 255 = 62%
R + G + B ~ 59%. #AC7C9F is middle color (not dark and not light).
R + G + B =
172 + 124 + 159 = 455 (100%)
R 172 of 455 ~ 37.8%
G 124 of 455 ~ 27.25%
B 159 of 455 ~ 34.95%
#AC7C9F color CMYK value is (0,28,8,33).
CMYK: (0,28,8,33) C0M28Y8K33 (0%,28%,8%,33%) (0.00/0.28/0.08/0.33)
AC | 7C | 9F | |
---|---|---|---|
RGB | 172 | 124 | 159 |
HSL | 316° | 22.43% | 58.04% |
HSB/HSV | 316° | 27.91% | 67.45% |
CMYK | 0.00% | 27.91% | 7.56% |
32.55% |
HEX | AC | 7C | 9F |
Decimal | 172 | 124 | 159 |
Binary | 10101100 | 1111100 | 10011111 |
Octal | 254 | 174 | 237 |
Examples of css and html codes for elements with #AC7C9F color. Also use rgb(172,124,159) instead hex code.
.myTextColor { color: #AC7C9F; }
<p style="color:#AC7C9F">This sample text font color is #AC7C9F.</p>
This text font color is #AC7C9F.
.myBgColor { background-color: #AC7C9F; }
<div style="background-color:#AC7C9F">Inner text</div>
This div background color is #AC7C9F.
.myBorderColor { border: 1px solid #AC7C9F; }
<div style="border:3px solid #AC7C9F">Div</div>
This div border color is #AC7C9F.
.myOpacity80 { color: #AC7C9F; opacity: 0.8; }
<p style="color:#AC7C9F;opacity:0.8;">80%</p>
Text with #AC7C9F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AC7C9F;}
<p style="text-shadow: 3px 3px 1px #AC7C9F">Text here.</p>
This text has shadow with #AC7C9F color.
.textShadow {text-shadow: 3px 3px 1px #AC7C9F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AC7C9F, 5px 5px 20px red">Text here.</p>
This text has shadow with #AC7C9F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AC7C9F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AC7C9F, Direction=45, Strength=4)">Text</p>
This text has shadow with #AC7C9F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AC7C9F; -webkit-box-shadow: 1px 1px 3px 2px #AC7C9F; box-shadow: 1px 1px 3px 2px #AC7C9F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AC7C9F; -webkit-box-shadow: 1px 1px 3px 2px #AC7C9F; box-shadow:1px 1px 3px 2px #AC7C9F;">
Div content here</div>
This text has color #AC7C9F on black background.
This text has color #AC7C9F on white background.
This text has black color on #AC7C9F background.
This text has white color on #AC7C9F background.