HEX: #8E6AAE
RGB: (142,106,174)
#8E6AAE contains mainly red and blue colors. Web safe color of #8E6AAE is #996699 (or #969).
#8E6AAE color RGB value is (142,106,174).
RGB: (142,106,174) (56%,42%,68%)
R 142 of 255 = 56%
G 106 of 255 = 42%
B 174 of 255 = 68%
R + G + B ~ 55%. #8E6AAE is middle color (not dark and not light).
R + G + B =
142 + 106 + 174 = 422 (100%)
R 142 of 422 ~ 33.65%
G 106 of 422 ~ 25.12%
B 174 of 422 ~ 41.23%
#8E6AAE color CMYK value is (18,39,0,32).
CMYK: (18,39,0,32) C18M39Y0K32 (18%,39%,0%,32%) (0.18/0.39/0.00/0.32)
8E | 6A | AE | |
---|---|---|---|
RGB | 142 | 106 | 174 |
HSL | 272° | 29.57% | 54.90% |
HSB/HSV | 272° | 39.08% | 68.24% |
CMYK | 18.39% | 39.08% | 0.00% |
31.76% |
HEX | 8E | 6A | AE |
Decimal | 142 | 106 | 174 |
Binary | 10001110 | 1101010 | 10101110 |
Octal | 216 | 152 | 256 |
Examples of css and html codes for elements with #8E6AAE color. Also use rgb(142,106,174) instead hex code.
.myTextColor { color: #8E6AAE; }
<p style="color:#8E6AAE">This sample text font color is #8E6AAE.</p>
This text font color is #8E6AAE.
.myBgColor { background-color: #8E6AAE; }
<div style="background-color:#8E6AAE">Inner text</div>
This div background color is #8E6AAE.
.myBorderColor { border: 1px solid #8E6AAE; }
<div style="border:3px solid #8E6AAE">Div</div>
This div border color is #8E6AAE.
.myOpacity80 { color: #8E6AAE; opacity: 0.8; }
<p style="color:#8E6AAE;opacity:0.8;">80%</p>
Text with #8E6AAE color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8E6AAE;}
<p style="text-shadow: 3px 3px 1px #8E6AAE">Text here.</p>
This text has shadow with #8E6AAE color.
.textShadow {text-shadow: 3px 3px 1px #8E6AAE, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8E6AAE, 5px 5px 20px red">Text here.</p>
This text has shadow with #8E6AAE primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8E6AAE, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8E6AAE, Direction=45, Strength=4)">Text</p>
This text has shadow with #8E6AAE and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8E6AAE; -webkit-box-shadow: 1px 1px 3px 2px #8E6AAE; box-shadow: 1px 1px 3px 2px #8E6AAE; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8E6AAE; -webkit-box-shadow: 1px 1px 3px 2px #8E6AAE; box-shadow:1px 1px 3px 2px #8E6AAE;">
Div content here</div>
This text has color #8E6AAE on black background.
This text has color #8E6AAE on white background.
This text has black color on #8E6AAE background.
This text has white color on #8E6AAE background.