HEX: #8E5DAD
RGB: (142,93,173)
#8E5DAD contains mainly red and blue colors. Web safe color of #8E5DAD is #996699 (or #969).
#8E5DAD color RGB value is (142,93,173).
RGB: (142,93,173) (56%,36%,68%)
R 142 of 255 = 56%
G 93 of 255 = 36%
B 173 of 255 = 68%
R + G + B ~ 53%. #8E5DAD is middle color (not dark and not light).
R + G + B =
142 + 93 + 173 = 408 (100%)
R 142 of 408 ~ 34.8%
G 93 of 408 ~ 22.79%
B 173 of 408 ~ 42.4%
#8E5DAD color CMYK value is (18,46,0,32).
CMYK: (18,46,0,32) C18M46Y0K32 (18%,46%,0%,32%) (0.18/0.46/0.00/0.32)
8E | 5D | AD | |
---|---|---|---|
RGB | 142 | 93 | 173 |
HSL | 277° | 32.79% | 52.16% |
HSB/HSV | 277° | 46.24% | 67.84% |
CMYK | 17.92% | 46.24% | 0.00% |
32.16% |
HEX | 8E | 5D | AD |
Decimal | 142 | 93 | 173 |
Binary | 10001110 | 1011101 | 10101101 |
Octal | 216 | 135 | 255 |
Examples of css and html codes for elements with #8E5DAD color. Also use rgb(142,93,173) instead hex code.
.myTextColor { color: #8E5DAD; }
<p style="color:#8E5DAD">This sample text font color is #8E5DAD.</p>
This text font color is #8E5DAD.
.myBgColor { background-color: #8E5DAD; }
<div style="background-color:#8E5DAD">Inner text</div>
This div background color is #8E5DAD.
.myBorderColor { border: 1px solid #8E5DAD; }
<div style="border:3px solid #8E5DAD">Div</div>
This div border color is #8E5DAD.
.myOpacity80 { color: #8E5DAD; opacity: 0.8; }
<p style="color:#8E5DAD;opacity:0.8;">80%</p>
Text with #8E5DAD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8E5DAD;}
<p style="text-shadow: 3px 3px 1px #8E5DAD">Text here.</p>
This text has shadow with #8E5DAD color.
.textShadow {text-shadow: 3px 3px 1px #8E5DAD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8E5DAD, 5px 5px 20px red">Text here.</p>
This text has shadow with #8E5DAD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8E5DAD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8E5DAD, Direction=45, Strength=4)">Text</p>
This text has shadow with #8E5DAD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8E5DAD; -webkit-box-shadow: 1px 1px 3px 2px #8E5DAD; box-shadow: 1px 1px 3px 2px #8E5DAD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8E5DAD; -webkit-box-shadow: 1px 1px 3px 2px #8E5DAD; box-shadow:1px 1px 3px 2px #8E5DAD;">
Div content here</div>
This text has color #8E5DAD on black background.
This text has color #8E5DAD on white background.
This text has black color on #8E5DAD background.
This text has white color on #8E5DAD background.