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