HEX: #9E5FF0
RGB: (158,95,240)
#9E5FF0 contains mainly blue color. Web safe color of #9E5FF0 is #9966FF (or #96F).
#9E5FF0 color RGB value is (158,95,240).
RGB: (158,95,240) (62%,37%,94%)
R 158 of 255 = 62%
G 95 of 255 = 37%
B 240 of 255 = 94%
R + G + B ~ 64%. #9E5FF0 is quite light color.
R + G + B =
158 + 95 + 240 = 493 (100%)
R 158 of 493 ~ 32.05%
G 95 of 493 ~ 19.27%
B 240 of 493 ~ 48.68%
#9E5FF0 color CMYK value is (34,60,0,6).
CMYK: (34,60,0,6) C34M60Y0K6 (34%,60%,0%,6%) (0.34/0.60/0.00/0.06)
9E | 5F | F0 | |
---|---|---|---|
RGB | 158 | 95 | 240 |
HSL | 266° | 82.86% | 65.69% |
HSB/HSV | 266° | 60.42% | 94.12% |
CMYK | 34.17% | 60.42% | 0.00% |
5.88% |
HEX | 9E | 5F | F0 |
Decimal | 158 | 95 | 240 |
Binary | 10011110 | 1011111 | 11110000 |
Octal | 236 | 137 | 360 |
Examples of css and html codes for elements with #9E5FF0 color. Also use rgb(158,95,240) instead hex code.
.myTextColor { color: #9E5FF0; }
<p style="color:#9E5FF0">This sample text font color is #9E5FF0.</p>
This text font color is #9E5FF0.
.myBgColor { background-color: #9E5FF0; }
<div style="background-color:#9E5FF0">Inner text</div>
This div background color is #9E5FF0.
.myBorderColor { border: 1px solid #9E5FF0; }
<div style="border:3px solid #9E5FF0">Div</div>
This div border color is #9E5FF0.
.myOpacity80 { color: #9E5FF0; opacity: 0.8; }
<p style="color:#9E5FF0;opacity:0.8;">80%</p>
Text with #9E5FF0 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #9E5FF0;}
<p style="text-shadow: 3px 3px 1px #9E5FF0">Text here.</p>
This text has shadow with #9E5FF0 color.
.textShadow {text-shadow: 3px 3px 1px #9E5FF0, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #9E5FF0, 5px 5px 20px red">Text here.</p>
This text has shadow with #9E5FF0 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#9E5FF0, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#9E5FF0, Direction=45, Strength=4)">Text</p>
This text has shadow with #9E5FF0 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #9E5FF0; -webkit-box-shadow: 1px 1px 3px 2px #9E5FF0; box-shadow: 1px 1px 3px 2px #9E5FF0; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #9E5FF0; -webkit-box-shadow: 1px 1px 3px 2px #9E5FF0; box-shadow:1px 1px 3px 2px #9E5FF0;">
Div content here</div>
This text has color #9E5FF0 on black background.
This text has color #9E5FF0 on white background.
This text has black color on #9E5FF0 background.
This text has white color on #9E5FF0 background.