HEX: #8E8EDE
RGB: (142,142,222)
#8E8EDE contains mainly blue color. Web safe color of #8E8EDE is #9999CC (or #99C).
#8E8EDE color RGB value is (142,142,222).
RGB: (142,142,222) (56%,56%,87%)
R 142 of 255 = 56%
G 142 of 255 = 56%
B 222 of 255 = 87%
R + G + B ~ 66%. #8E8EDE is quite light color.
R + G + B =
142 + 142 + 222 = 506 (100%)
R 142 of 506 ~ 28.06%
G 142 of 506 ~ 28.06%
B 222 of 506 ~ 43.87%
#8E8EDE color CMYK value is (36,36,0,13).
CMYK: (36,36,0,13) C36M36Y0K13 (36%,36%,0%,13%) (0.36/0.36/0.00/0.13)
8E | 8E | DE | |
---|---|---|---|
RGB | 142 | 142 | 222 |
HSL | 240° | 54.79% | 71.37% |
HSB/HSV | 240° | 36.04% | 87.06% |
CMYK | 36.04% | 36.04% | 0.00% |
12.94% |
HEX | 8E | 8E | DE |
Decimal | 142 | 142 | 222 |
Binary | 10001110 | 10001110 | 11011110 |
Octal | 216 | 216 | 336 |
Examples of css and html codes for elements with #8E8EDE color. Also use rgb(142,142,222) instead hex code.
.myTextColor { color: #8E8EDE; }
<p style="color:#8E8EDE">This sample text font color is #8E8EDE.</p>
This text font color is #8E8EDE.
.myBgColor { background-color: #8E8EDE; }
<div style="background-color:#8E8EDE">Inner text</div>
This div background color is #8E8EDE.
.myBorderColor { border: 1px solid #8E8EDE; }
<div style="border:3px solid #8E8EDE">Div</div>
This div border color is #8E8EDE.
.myOpacity80 { color: #8E8EDE; opacity: 0.8; }
<p style="color:#8E8EDE;opacity:0.8;">80%</p>
Text with #8E8EDE color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8E8EDE;}
<p style="text-shadow: 3px 3px 1px #8E8EDE">Text here.</p>
This text has shadow with #8E8EDE color.
.textShadow {text-shadow: 3px 3px 1px #8E8EDE, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8E8EDE, 5px 5px 20px red">Text here.</p>
This text has shadow with #8E8EDE primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8E8EDE, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8E8EDE, Direction=45, Strength=4)">Text</p>
This text has shadow with #8E8EDE and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8E8EDE; -webkit-box-shadow: 1px 1px 3px 2px #8E8EDE; box-shadow: 1px 1px 3px 2px #8E8EDE; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8E8EDE; -webkit-box-shadow: 1px 1px 3px 2px #8E8EDE; box-shadow:1px 1px 3px 2px #8E8EDE;">
Div content here</div>
This text has color #8E8EDE on black background.
This text has color #8E8EDE on white background.
This text has black color on #8E8EDE background.
This text has white color on #8E8EDE background.