HEX: #9E4EBE
RGB: (158,78,190)
#9E4EBE contains mainly red and blue colors. Web safe color of #9E4EBE is #9966CC (or #96C).
#9E4EBE color RGB value is (158,78,190).
RGB: (158,78,190) (62%,31%,75%)
R 158 of 255 = 62%
G 78 of 255 = 31%
B 190 of 255 = 75%
R + G + B ~ 56%. #9E4EBE is middle color (not dark and not light).
R + G + B =
158 + 78 + 190 = 426 (100%)
R 158 of 426 ~ 37.09%
G 78 of 426 ~ 18.31%
B 190 of 426 ~ 44.6%
#9E4EBE color CMYK value is (17,59,0,25).
CMYK: (17,59,0,25) C17M59Y0K25 (17%,59%,0%,25%) (0.17/0.59/0.00/0.25)
9E | 4E | BE | |
---|---|---|---|
RGB | 158 | 78 | 190 |
HSL | 283° | 46.28% | 52.55% |
HSB/HSV | 283° | 58.95% | 74.51% |
CMYK | 16.84% | 58.95% | 0.00% |
25.49% |
HEX | 9E | 4E | BE |
Decimal | 158 | 78 | 190 |
Binary | 10011110 | 1001110 | 10111110 |
Octal | 236 | 116 | 276 |
Examples of css and html codes for elements with #9E4EBE color. Also use rgb(158,78,190) instead hex code.
.myTextColor { color: #9E4EBE; }
<p style="color:#9E4EBE">This sample text font color is #9E4EBE.</p>
This text font color is #9E4EBE.
.myBgColor { background-color: #9E4EBE; }
<div style="background-color:#9E4EBE">Inner text</div>
This div background color is #9E4EBE.
.myBorderColor { border: 1px solid #9E4EBE; }
<div style="border:3px solid #9E4EBE">Div</div>
This div border color is #9E4EBE.
.myOpacity80 { color: #9E4EBE; opacity: 0.8; }
<p style="color:#9E4EBE;opacity:0.8;">80%</p>
Text with #9E4EBE color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #9E4EBE;}
<p style="text-shadow: 3px 3px 1px #9E4EBE">Text here.</p>
This text has shadow with #9E4EBE color.
.textShadow {text-shadow: 3px 3px 1px #9E4EBE, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #9E4EBE, 5px 5px 20px red">Text here.</p>
This text has shadow with #9E4EBE primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#9E4EBE, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#9E4EBE, Direction=45, Strength=4)">Text</p>
This text has shadow with #9E4EBE and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #9E4EBE; -webkit-box-shadow: 1px 1px 3px 2px #9E4EBE; box-shadow: 1px 1px 3px 2px #9E4EBE; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #9E4EBE; -webkit-box-shadow: 1px 1px 3px 2px #9E4EBE; box-shadow:1px 1px 3px 2px #9E4EBE;">
Div content here</div>
This text has color #9E4EBE on black background.
This text has color #9E4EBE on white background.
This text has black color on #9E4EBE background.
This text has white color on #9E4EBE background.