HEX: #9E4EDD
RGB: (158,78,221)
#9E4EDD contains mainly blue color. Web safe color of #9E4EDD is #9966CC (or #96C).
#9E4EDD color RGB value is (158,78,221).
RGB: (158,78,221) (62%,31%,87%)
R 158 of 255 = 62%
G 78 of 255 = 31%
B 221 of 255 = 87%
R + G + B ~ 60%. #9E4EDD is middle color (not dark and not light).
R + G + B =
158 + 78 + 221 = 457 (100%)
R 158 of 457 ~ 34.57%
G 78 of 457 ~ 17.07%
B 221 of 457 ~ 48.36%
#9E4EDD color CMYK value is (29,65,0,13).
CMYK: (29,65,0,13) C29M65Y0K13 (29%,65%,0%,13%) (0.29/0.65/0.00/0.13)
9E | 4E | DD | |
---|---|---|---|
RGB | 158 | 78 | 221 |
HSL | 274° | 67.77% | 58.63% |
HSB/HSV | 274° | 64.71% | 86.67% |
CMYK | 28.51% | 64.71% | 0.00% |
13.33% |
HEX | 9E | 4E | DD |
Decimal | 158 | 78 | 221 |
Binary | 10011110 | 1001110 | 11011101 |
Octal | 236 | 116 | 335 |
Examples of css and html codes for elements with #9E4EDD color. Also use rgb(158,78,221) instead hex code.
.myTextColor { color: #9E4EDD; }
<p style="color:#9E4EDD">This sample text font color is #9E4EDD.</p>
This text font color is #9E4EDD.
.myBgColor { background-color: #9E4EDD; }
<div style="background-color:#9E4EDD">Inner text</div>
This div background color is #9E4EDD.
.myBorderColor { border: 1px solid #9E4EDD; }
<div style="border:3px solid #9E4EDD">Div</div>
This div border color is #9E4EDD.
.myOpacity80 { color: #9E4EDD; opacity: 0.8; }
<p style="color:#9E4EDD;opacity:0.8;">80%</p>
Text with #9E4EDD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #9E4EDD;}
<p style="text-shadow: 3px 3px 1px #9E4EDD">Text here.</p>
This text has shadow with #9E4EDD color.
.textShadow {text-shadow: 3px 3px 1px #9E4EDD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #9E4EDD, 5px 5px 20px red">Text here.</p>
This text has shadow with #9E4EDD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#9E4EDD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#9E4EDD, Direction=45, Strength=4)">Text</p>
This text has shadow with #9E4EDD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #9E4EDD; -webkit-box-shadow: 1px 1px 3px 2px #9E4EDD; box-shadow: 1px 1px 3px 2px #9E4EDD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #9E4EDD; -webkit-box-shadow: 1px 1px 3px 2px #9E4EDD; box-shadow:1px 1px 3px 2px #9E4EDD;">
Div content here</div>
This text has color #9E4EDD on black background.
This text has color #9E4EDD on white background.
This text has black color on #9E4EDD background.
This text has white color on #9E4EDD background.