HEX: #8E7AAE
RGB: (142,122,174)
#8E7AAE contains red, green and blue colors in about the same proportion. Web safe color of #8E7AAE is #996699 (or #969).
#8E7AAE color RGB value is (142,122,174).
RGB: (142,122,174) (56%,48%,68%)
R 142 of 255 = 56%
G 122 of 255 = 48%
B 174 of 255 = 68%
R + G + B ~ 57%. #8E7AAE is middle color (not dark and not light).
R + G + B =
142 + 122 + 174 = 438 (100%)
R 142 of 438 ~ 32.42%
G 122 of 438 ~ 27.85%
B 174 of 438 ~ 39.73%
#8E7AAE color CMYK value is (18,30,0,32).
CMYK: (18,30,0,32) C18M30Y0K32 (18%,30%,0%,32%) (0.18/0.30/0.00/0.32)
8E | 7A | AE | |
---|---|---|---|
RGB | 142 | 122 | 174 |
HSL | 263° | 24.30% | 58.04% |
HSB/HSV | 263° | 29.89% | 68.24% |
CMYK | 18.39% | 29.89% | 0.00% |
31.76% |
HEX | 8E | 7A | AE |
Decimal | 142 | 122 | 174 |
Binary | 10001110 | 1111010 | 10101110 |
Octal | 216 | 172 | 256 |
Examples of css and html codes for elements with #8E7AAE color. Also use rgb(142,122,174) instead hex code.
.myTextColor { color: #8E7AAE; }
<p style="color:#8E7AAE">This sample text font color is #8E7AAE.</p>
This text font color is #8E7AAE.
.myBgColor { background-color: #8E7AAE; }
<div style="background-color:#8E7AAE">Inner text</div>
This div background color is #8E7AAE.
.myBorderColor { border: 1px solid #8E7AAE; }
<div style="border:3px solid #8E7AAE">Div</div>
This div border color is #8E7AAE.
.myOpacity80 { color: #8E7AAE; opacity: 0.8; }
<p style="color:#8E7AAE;opacity:0.8;">80%</p>
Text with #8E7AAE color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8E7AAE;}
<p style="text-shadow: 3px 3px 1px #8E7AAE">Text here.</p>
This text has shadow with #8E7AAE color.
.textShadow {text-shadow: 3px 3px 1px #8E7AAE, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8E7AAE, 5px 5px 20px red">Text here.</p>
This text has shadow with #8E7AAE primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8E7AAE, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8E7AAE, Direction=45, Strength=4)">Text</p>
This text has shadow with #8E7AAE and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8E7AAE; -webkit-box-shadow: 1px 1px 3px 2px #8E7AAE; box-shadow: 1px 1px 3px 2px #8E7AAE; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8E7AAE; -webkit-box-shadow: 1px 1px 3px 2px #8E7AAE; box-shadow:1px 1px 3px 2px #8E7AAE;">
Div content here</div>
This text has color #8E7AAE on black background.
This text has color #8E7AAE on white background.
This text has black color on #8E7AAE background.
This text has white color on #8E7AAE background.