HEX: #9E87BD
RGB: (158,135,189)
#9E87BD contains red, green and blue colors in about the same proportion. Web safe color of #9E87BD is #9999CC (or #99C).
#9E87BD color RGB value is (158,135,189).
RGB: (158,135,189) (62%,53%,74%)
R 158 of 255 = 62%
G 135 of 255 = 53%
B 189 of 255 = 74%
R + G + B ~ 63%. #9E87BD is quite light color.
R + G + B =
158 + 135 + 189 = 482 (100%)
R 158 of 482 ~ 32.78%
G 135 of 482 ~ 28.01%
B 189 of 482 ~ 39.21%
#9E87BD color CMYK value is (16,29,0,26).
CMYK: (16,29,0,26) C16M29Y0K26 (16%,29%,0%,26%) (0.16/0.29/0.00/0.26)
9E | 87 | BD | |
---|---|---|---|
RGB | 158 | 135 | 189 |
HSL | 266° | 29.03% | 63.53% |
HSB/HSV | 266° | 28.57% | 74.12% |
CMYK | 16.40% | 28.57% | 0.00% |
25.88% |
HEX | 9E | 87 | BD |
Decimal | 158 | 135 | 189 |
Binary | 10011110 | 10000111 | 10111101 |
Octal | 236 | 207 | 275 |
Examples of css and html codes for elements with #9E87BD color. Also use rgb(158,135,189) instead hex code.
.myTextColor { color: #9E87BD; }
<p style="color:#9E87BD">This sample text font color is #9E87BD.</p>
This text font color is #9E87BD.
.myBgColor { background-color: #9E87BD; }
<div style="background-color:#9E87BD">Inner text</div>
This div background color is #9E87BD.
.myBorderColor { border: 1px solid #9E87BD; }
<div style="border:3px solid #9E87BD">Div</div>
This div border color is #9E87BD.
.myOpacity80 { color: #9E87BD; opacity: 0.8; }
<p style="color:#9E87BD;opacity:0.8;">80%</p>
Text with #9E87BD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #9E87BD;}
<p style="text-shadow: 3px 3px 1px #9E87BD">Text here.</p>
This text has shadow with #9E87BD color.
.textShadow {text-shadow: 3px 3px 1px #9E87BD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #9E87BD, 5px 5px 20px red">Text here.</p>
This text has shadow with #9E87BD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#9E87BD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#9E87BD, Direction=45, Strength=4)">Text</p>
This text has shadow with #9E87BD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #9E87BD; -webkit-box-shadow: 1px 1px 3px 2px #9E87BD; box-shadow: 1px 1px 3px 2px #9E87BD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #9E87BD; -webkit-box-shadow: 1px 1px 3px 2px #9E87BD; box-shadow:1px 1px 3px 2px #9E87BD;">
Div content here</div>
This text has color #9E87BD on black background.
This text has color #9E87BD on white background.
This text has black color on #9E87BD background.
This text has white color on #9E87BD background.