HEX: #8C6DAC
RGB: (140,109,172)
#8C6DAC contains mainly red and blue colors. Web safe color of #8C6DAC is #996699 (or #969).
#8C6DAC color RGB value is (140,109,172).
RGB: (140,109,172) (55%,43%,67%)
R 140 of 255 = 55%
G 109 of 255 = 43%
B 172 of 255 = 67%
R + G + B ~ 55%. #8C6DAC is middle color (not dark and not light).
R + G + B =
140 + 109 + 172 = 421 (100%)
R 140 of 421 ~ 33.25%
G 109 of 421 ~ 25.89%
B 172 of 421 ~ 40.86%
#8C6DAC color CMYK value is (19,37,0,33).
CMYK: (19,37,0,33) C19M37Y0K33 (19%,37%,0%,33%) (0.19/0.37/0.00/0.33)
8C | 6D | AC | |
---|---|---|---|
RGB | 140 | 109 | 172 |
HSL | 270° | 27.51% | 55.10% |
HSB/HSV | 270° | 36.63% | 67.45% |
CMYK | 18.60% | 36.63% | 0.00% |
32.55% |
HEX | 8C | 6D | AC |
Decimal | 140 | 109 | 172 |
Binary | 10001100 | 1101101 | 10101100 |
Octal | 214 | 155 | 254 |
Examples of css and html codes for elements with #8C6DAC color. Also use rgb(140,109,172) instead hex code.
.myTextColor { color: #8C6DAC; }
<p style="color:#8C6DAC">This sample text font color is #8C6DAC.</p>
This text font color is #8C6DAC.
.myBgColor { background-color: #8C6DAC; }
<div style="background-color:#8C6DAC">Inner text</div>
This div background color is #8C6DAC.
.myBorderColor { border: 1px solid #8C6DAC; }
<div style="border:3px solid #8C6DAC">Div</div>
This div border color is #8C6DAC.
.myOpacity80 { color: #8C6DAC; opacity: 0.8; }
<p style="color:#8C6DAC;opacity:0.8;">80%</p>
Text with #8C6DAC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8C6DAC;}
<p style="text-shadow: 3px 3px 1px #8C6DAC">Text here.</p>
This text has shadow with #8C6DAC color.
.textShadow {text-shadow: 3px 3px 1px #8C6DAC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8C6DAC, 5px 5px 20px red">Text here.</p>
This text has shadow with #8C6DAC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8C6DAC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8C6DAC, Direction=45, Strength=4)">Text</p>
This text has shadow with #8C6DAC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8C6DAC; -webkit-box-shadow: 1px 1px 3px 2px #8C6DAC; box-shadow: 1px 1px 3px 2px #8C6DAC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8C6DAC; -webkit-box-shadow: 1px 1px 3px 2px #8C6DAC; box-shadow:1px 1px 3px 2px #8C6DAC;">
Div content here</div>
This text has color #8C6DAC on black background.
This text has color #8C6DAC on white background.
This text has black color on #8C6DAC background.
This text has white color on #8C6DAC background.