HEX: #8E8ADC
RGB: (142,138,220)
#8E8ADC contains mainly blue color. Web safe color of #8E8ADC is #9999CC (or #99C).
#8E8ADC color RGB value is (142,138,220).
RGB: (142,138,220) (56%,54%,86%)
R 142 of 255 = 56%
G 138 of 255 = 54%
B 220 of 255 = 86%
R + G + B ~ 65%. #8E8ADC is quite light color.
R + G + B =
142 + 138 + 220 = 500 (100%)
R 142 of 500 ~ 28.4%
G 138 of 500 ~ 27.6%
B 220 of 500 ~ 44%
#8E8ADC color CMYK value is (35,37,0,14).
CMYK: (35,37,0,14) C35M37Y0K14 (35%,37%,0%,14%) (0.35/0.37/0.00/0.14)
8E | 8A | DC | |
---|---|---|---|
RGB | 142 | 138 | 220 |
HSL | 243° | 53.95% | 70.20% |
HSB/HSV | 243° | 37.27% | 86.27% |
CMYK | 35.45% | 37.27% | 0.00% |
13.73% |
HEX | 8E | 8A | DC |
Decimal | 142 | 138 | 220 |
Binary | 10001110 | 10001010 | 11011100 |
Octal | 216 | 212 | 334 |
Examples of css and html codes for elements with #8E8ADC color. Also use rgb(142,138,220) instead hex code.
.myTextColor { color: #8E8ADC; }
<p style="color:#8E8ADC">This sample text font color is #8E8ADC.</p>
This text font color is #8E8ADC.
.myBgColor { background-color: #8E8ADC; }
<div style="background-color:#8E8ADC">Inner text</div>
This div background color is #8E8ADC.
.myBorderColor { border: 1px solid #8E8ADC; }
<div style="border:3px solid #8E8ADC">Div</div>
This div border color is #8E8ADC.
.myOpacity80 { color: #8E8ADC; opacity: 0.8; }
<p style="color:#8E8ADC;opacity:0.8;">80%</p>
Text with #8E8ADC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8E8ADC;}
<p style="text-shadow: 3px 3px 1px #8E8ADC">Text here.</p>
This text has shadow with #8E8ADC color.
.textShadow {text-shadow: 3px 3px 1px #8E8ADC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8E8ADC, 5px 5px 20px red">Text here.</p>
This text has shadow with #8E8ADC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8E8ADC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8E8ADC, Direction=45, Strength=4)">Text</p>
This text has shadow with #8E8ADC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8E8ADC; -webkit-box-shadow: 1px 1px 3px 2px #8E8ADC; box-shadow: 1px 1px 3px 2px #8E8ADC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8E8ADC; -webkit-box-shadow: 1px 1px 3px 2px #8E8ADC; box-shadow:1px 1px 3px 2px #8E8ADC;">
Div content here</div>
This text has color #8E8ADC on black background.
This text has color #8E8ADC on white background.
This text has black color on #8E8ADC background.
This text has white color on #8E8ADC background.