HEX: #8E11DA
RGB: (142,17,218)
#8E11DA contains mainly blue color. Web safe color of #8E11DA is #9900CC (or #90C).
#8E11DA color RGB value is (142,17,218).
RGB: (142,17,218) (56%,7%,85%)
R 142 of 255 = 56%
G 17 of 255 = 7%
B 218 of 255 = 85%
R + G + B ~ 49%. #8E11DA is middle color (not dark and not light).
R + G + B =
142 + 17 + 218 = 377 (100%)
R 142 of 377 ~ 37.67%
G 17 of 377 ~ 4.51%
B 218 of 377 ~ 57.82%
#8E11DA color CMYK value is (35,92,0,15).
CMYK: (35,92,0,15) C35M92Y0K15 (35%,92%,0%,15%) (0.35/0.92/0.00/0.15)
8E | 11 | DA | |
---|---|---|---|
RGB | 142 | 17 | 218 |
HSL | 277° | 85.53% | 46.08% |
HSB/HSV | 277° | 92.20% | 85.49% |
CMYK | 34.86% | 92.20% | 0.00% |
14.51% |
HEX | 8E | 11 | DA |
Decimal | 142 | 17 | 218 |
Binary | 10001110 | 10001 | 11011010 |
Octal | 216 | 21 | 332 |
Examples of css and html codes for elements with #8E11DA color. Also use rgb(142,17,218) instead hex code.
.myTextColor { color: #8E11DA; }
<p style="color:#8E11DA">This sample text font color is #8E11DA.</p>
This text font color is #8E11DA.
.myBgColor { background-color: #8E11DA; }
<div style="background-color:#8E11DA">Inner text</div>
This div background color is #8E11DA.
.myBorderColor { border: 1px solid #8E11DA; }
<div style="border:3px solid #8E11DA">Div</div>
This div border color is #8E11DA.
.myOpacity80 { color: #8E11DA; opacity: 0.8; }
<p style="color:#8E11DA;opacity:0.8;">80%</p>
Text with #8E11DA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8E11DA;}
<p style="text-shadow: 3px 3px 1px #8E11DA">Text here.</p>
This text has shadow with #8E11DA color.
.textShadow {text-shadow: 3px 3px 1px #8E11DA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8E11DA, 5px 5px 20px red">Text here.</p>
This text has shadow with #8E11DA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8E11DA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8E11DA, Direction=45, Strength=4)">Text</p>
This text has shadow with #8E11DA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8E11DA; -webkit-box-shadow: 1px 1px 3px 2px #8E11DA; box-shadow: 1px 1px 3px 2px #8E11DA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8E11DA; -webkit-box-shadow: 1px 1px 3px 2px #8E11DA; box-shadow:1px 1px 3px 2px #8E11DA;">
Div content here</div>
This text has color #8E11DA on black background.
This text has color #8E11DA on white background.
This text has black color on #8E11DA background.
This text has white color on #8E11DA background.