HEX: #9E87EF
RGB: (158,135,239)
#9E87EF contains mainly blue color. Web safe color of #9E87EF is #9999FF (or #99F).
#9E87EF color RGB value is (158,135,239).
RGB: (158,135,239) (62%,53%,94%)
R 158 of 255 = 62%
G 135 of 255 = 53%
B 239 of 255 = 94%
R + G + B ~ 70%. #9E87EF is quite light color.
R + G + B =
158 + 135 + 239 = 532 (100%)
R 158 of 532 ~ 29.7%
G 135 of 532 ~ 25.38%
B 239 of 532 ~ 44.92%
#9E87EF color CMYK value is (34,44,0,6).
CMYK: (34,44,0,6) C34M44Y0K6 (34%,44%,0%,6%) (0.34/0.44/0.00/0.06)
9E | 87 | EF | |
---|---|---|---|
RGB | 158 | 135 | 239 |
HSL | 253° | 76.47% | 73.33% |
HSB/HSV | 253° | 43.51% | 93.73% |
CMYK | 33.89% | 43.51% | 0.00% |
6.27% |
HEX | 9E | 87 | EF |
Decimal | 158 | 135 | 239 |
Binary | 10011110 | 10000111 | 11101111 |
Octal | 236 | 207 | 357 |
Examples of css and html codes for elements with #9E87EF color. Also use rgb(158,135,239) instead hex code.
.myTextColor { color: #9E87EF; }
<p style="color:#9E87EF">This sample text font color is #9E87EF.</p>
This text font color is #9E87EF.
.myBgColor { background-color: #9E87EF; }
<div style="background-color:#9E87EF">Inner text</div>
This div background color is #9E87EF.
.myBorderColor { border: 1px solid #9E87EF; }
<div style="border:3px solid #9E87EF">Div</div>
This div border color is #9E87EF.
.myOpacity80 { color: #9E87EF; opacity: 0.8; }
<p style="color:#9E87EF;opacity:0.8;">80%</p>
Text with #9E87EF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #9E87EF;}
<p style="text-shadow: 3px 3px 1px #9E87EF">Text here.</p>
This text has shadow with #9E87EF color.
.textShadow {text-shadow: 3px 3px 1px #9E87EF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #9E87EF, 5px 5px 20px red">Text here.</p>
This text has shadow with #9E87EF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#9E87EF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#9E87EF, Direction=45, Strength=4)">Text</p>
This text has shadow with #9E87EF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #9E87EF; -webkit-box-shadow: 1px 1px 3px 2px #9E87EF; box-shadow: 1px 1px 3px 2px #9E87EF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #9E87EF; -webkit-box-shadow: 1px 1px 3px 2px #9E87EF; box-shadow:1px 1px 3px 2px #9E87EF;">
Div content here</div>
This text has color #9E87EF on black background.
This text has color #9E87EF on white background.
This text has black color on #9E87EF background.
This text has white color on #9E87EF background.