HEX: #AC7EBC
RGB: (172,126,188)
#AC7EBC contains mainly red and blue colors. Web safe color of #AC7EBC is #9966CC (or #96C).
#AC7EBC color RGB value is (172,126,188).
RGB: (172,126,188) (67%,49%,74%)
R 172 of 255 = 67%
G 126 of 255 = 49%
B 188 of 255 = 74%
R + G + B ~ 63%. #AC7EBC is quite light color.
R + G + B =
172 + 126 + 188 = 486 (100%)
R 172 of 486 ~ 35.39%
G 126 of 486 ~ 25.93%
B 188 of 486 ~ 38.68%
#AC7EBC color CMYK value is (9,33,0,26).
CMYK: (9,33,0,26) C9M33Y0K26 (9%,33%,0%,26%) (0.09/0.33/0.00/0.26)
AC | 7E | BC | |
---|---|---|---|
RGB | 172 | 126 | 188 |
HSL | 285° | 31.63% | 61.57% |
HSB/HSV | 285° | 32.98% | 73.73% |
CMYK | 8.51% | 32.98% | 0.00% |
26.27% |
HEX | AC | 7E | BC |
Decimal | 172 | 126 | 188 |
Binary | 10101100 | 1111110 | 10111100 |
Octal | 254 | 176 | 274 |
Examples of css and html codes for elements with #AC7EBC color. Also use rgb(172,126,188) instead hex code.
.myTextColor { color: #AC7EBC; }
<p style="color:#AC7EBC">This sample text font color is #AC7EBC.</p>
This text font color is #AC7EBC.
.myBgColor { background-color: #AC7EBC; }
<div style="background-color:#AC7EBC">Inner text</div>
This div background color is #AC7EBC.
.myBorderColor { border: 1px solid #AC7EBC; }
<div style="border:3px solid #AC7EBC">Div</div>
This div border color is #AC7EBC.
.myOpacity80 { color: #AC7EBC; opacity: 0.8; }
<p style="color:#AC7EBC;opacity:0.8;">80%</p>
Text with #AC7EBC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AC7EBC;}
<p style="text-shadow: 3px 3px 1px #AC7EBC">Text here.</p>
This text has shadow with #AC7EBC color.
.textShadow {text-shadow: 3px 3px 1px #AC7EBC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AC7EBC, 5px 5px 20px red">Text here.</p>
This text has shadow with #AC7EBC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AC7EBC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AC7EBC, Direction=45, Strength=4)">Text</p>
This text has shadow with #AC7EBC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AC7EBC; -webkit-box-shadow: 1px 1px 3px 2px #AC7EBC; box-shadow: 1px 1px 3px 2px #AC7EBC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AC7EBC; -webkit-box-shadow: 1px 1px 3px 2px #AC7EBC; box-shadow:1px 1px 3px 2px #AC7EBC;">
Div content here</div>
This text has color #AC7EBC on black background.
This text has color #AC7EBC on white background.
This text has black color on #AC7EBC background.
This text has white color on #AC7EBC background.