HEX: #8E58D8
RGB: (142,88,216)
#8E58D8 contains mainly blue color. Web safe color of #8E58D8 is #9966CC (or #96C).
#8E58D8 color RGB value is (142,88,216).
RGB: (142,88,216) (56%,35%,85%)
R 142 of 255 = 56%
G 88 of 255 = 35%
B 216 of 255 = 85%
R + G + B ~ 59%. #8E58D8 is middle color (not dark and not light).
R + G + B =
142 + 88 + 216 = 446 (100%)
R 142 of 446 ~ 31.84%
G 88 of 446 ~ 19.73%
B 216 of 446 ~ 48.43%
#8E58D8 color CMYK value is (34,59,0,15).
CMYK: (34,59,0,15) C34M59Y0K15 (34%,59%,0%,15%) (0.34/0.59/0.00/0.15)
8E | 58 | D8 | |
---|---|---|---|
RGB | 142 | 88 | 216 |
HSL | 265° | 62.14% | 59.61% |
HSB/HSV | 265° | 59.26% | 84.71% |
CMYK | 34.26% | 59.26% | 0.00% |
15.29% |
HEX | 8E | 58 | D8 |
Decimal | 142 | 88 | 216 |
Binary | 10001110 | 1011000 | 11011000 |
Octal | 216 | 130 | 330 |
Examples of css and html codes for elements with #8E58D8 color. Also use rgb(142,88,216) instead hex code.
.myTextColor { color: #8E58D8; }
<p style="color:#8E58D8">This sample text font color is #8E58D8.</p>
This text font color is #8E58D8.
.myBgColor { background-color: #8E58D8; }
<div style="background-color:#8E58D8">Inner text</div>
This div background color is #8E58D8.
.myBorderColor { border: 1px solid #8E58D8; }
<div style="border:3px solid #8E58D8">Div</div>
This div border color is #8E58D8.
.myOpacity80 { color: #8E58D8; opacity: 0.8; }
<p style="color:#8E58D8;opacity:0.8;">80%</p>
Text with #8E58D8 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8E58D8;}
<p style="text-shadow: 3px 3px 1px #8E58D8">Text here.</p>
This text has shadow with #8E58D8 color.
.textShadow {text-shadow: 3px 3px 1px #8E58D8, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8E58D8, 5px 5px 20px red">Text here.</p>
This text has shadow with #8E58D8 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8E58D8, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8E58D8, Direction=45, Strength=4)">Text</p>
This text has shadow with #8E58D8 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8E58D8; -webkit-box-shadow: 1px 1px 3px 2px #8E58D8; box-shadow: 1px 1px 3px 2px #8E58D8; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8E58D8; -webkit-box-shadow: 1px 1px 3px 2px #8E58D8; box-shadow:1px 1px 3px 2px #8E58D8;">
Div content here</div>
This text has color #8E58D8 on black background.
This text has color #8E58D8 on white background.
This text has black color on #8E58D8 background.
This text has white color on #8E58D8 background.