HEX: #AC7EAF
RGB: (172,126,175)
#AC7EAF contains red, green and blue colors in about the same proportion. Web safe color of #AC7EAF is #996699 (or #969).
#AC7EAF color RGB value is (172,126,175).
RGB: (172,126,175) (67%,49%,69%)
R 172 of 255 = 67%
G 126 of 255 = 49%
B 175 of 255 = 69%
R + G + B ~ 62%. #AC7EAF is quite light color.
R + G + B =
172 + 126 + 175 = 473 (100%)
R 172 of 473 ~ 36.36%
G 126 of 473 ~ 26.64%
B 175 of 473 ~ 37%
#AC7EAF color CMYK value is (2,28,0,31).
CMYK: (2,28,0,31) C2M28Y0K31 (2%,28%,0%,31%) (0.02/0.28/0.00/0.31)
AC | 7E | AF | |
---|---|---|---|
RGB | 172 | 126 | 175 |
HSL | 296° | 23.44% | 59.02% |
HSB/HSV | 296° | 28.00% | 68.63% |
CMYK | 1.71% | 28.00% | 0.00% |
31.37% |
HEX | AC | 7E | AF |
Decimal | 172 | 126 | 175 |
Binary | 10101100 | 1111110 | 10101111 |
Octal | 254 | 176 | 257 |
Examples of css and html codes for elements with #AC7EAF color. Also use rgb(172,126,175) instead hex code.
.myTextColor { color: #AC7EAF; }
<p style="color:#AC7EAF">This sample text font color is #AC7EAF.</p>
This text font color is #AC7EAF.
.myBgColor { background-color: #AC7EAF; }
<div style="background-color:#AC7EAF">Inner text</div>
This div background color is #AC7EAF.
.myBorderColor { border: 1px solid #AC7EAF; }
<div style="border:3px solid #AC7EAF">Div</div>
This div border color is #AC7EAF.
.myOpacity80 { color: #AC7EAF; opacity: 0.8; }
<p style="color:#AC7EAF;opacity:0.8;">80%</p>
Text with #AC7EAF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AC7EAF;}
<p style="text-shadow: 3px 3px 1px #AC7EAF">Text here.</p>
This text has shadow with #AC7EAF color.
.textShadow {text-shadow: 3px 3px 1px #AC7EAF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AC7EAF, 5px 5px 20px red">Text here.</p>
This text has shadow with #AC7EAF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AC7EAF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AC7EAF, Direction=45, Strength=4)">Text</p>
This text has shadow with #AC7EAF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AC7EAF; -webkit-box-shadow: 1px 1px 3px 2px #AC7EAF; box-shadow: 1px 1px 3px 2px #AC7EAF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AC7EAF; -webkit-box-shadow: 1px 1px 3px 2px #AC7EAF; box-shadow:1px 1px 3px 2px #AC7EAF;">
Div content here</div>
This text has color #AC7EAF on black background.
This text has color #AC7EAF on white background.
This text has black color on #AC7EAF background.
This text has white color on #AC7EAF background.