HEX: #9E7DBB
RGB: (158,125,187)
#9E7DBB contains mainly red and blue colors. Web safe color of #9E7DBB is #9966CC (or #96C).
#9E7DBB color RGB value is (158,125,187).
RGB: (158,125,187) (62%,49%,73%)
R 158 of 255 = 62%
G 125 of 255 = 49%
B 187 of 255 = 73%
R + G + B ~ 61%. #9E7DBB is quite light color.
R + G + B =
158 + 125 + 187 = 470 (100%)
R 158 of 470 ~ 33.62%
G 125 of 470 ~ 26.6%
B 187 of 470 ~ 39.79%
#9E7DBB color CMYK value is (16,33,0,27).
CMYK: (16,33,0,27) C16M33Y0K27 (16%,33%,0%,27%) (0.16/0.33/0.00/0.27)
9E | 7D | BB | |
---|---|---|---|
RGB | 158 | 125 | 187 |
HSL | 272° | 31.31% | 61.18% |
HSB/HSV | 272° | 33.16% | 73.33% |
CMYK | 15.51% | 33.16% | 0.00% |
26.67% |
HEX | 9E | 7D | BB |
Decimal | 158 | 125 | 187 |
Binary | 10011110 | 1111101 | 10111011 |
Octal | 236 | 175 | 273 |
Examples of css and html codes for elements with #9E7DBB color. Also use rgb(158,125,187) instead hex code.
.myTextColor { color: #9E7DBB; }
<p style="color:#9E7DBB">This sample text font color is #9E7DBB.</p>
This text font color is #9E7DBB.
.myBgColor { background-color: #9E7DBB; }
<div style="background-color:#9E7DBB">Inner text</div>
This div background color is #9E7DBB.
.myBorderColor { border: 1px solid #9E7DBB; }
<div style="border:3px solid #9E7DBB">Div</div>
This div border color is #9E7DBB.
.myOpacity80 { color: #9E7DBB; opacity: 0.8; }
<p style="color:#9E7DBB;opacity:0.8;">80%</p>
Text with #9E7DBB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #9E7DBB;}
<p style="text-shadow: 3px 3px 1px #9E7DBB">Text here.</p>
This text has shadow with #9E7DBB color.
.textShadow {text-shadow: 3px 3px 1px #9E7DBB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #9E7DBB, 5px 5px 20px red">Text here.</p>
This text has shadow with #9E7DBB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#9E7DBB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#9E7DBB, Direction=45, Strength=4)">Text</p>
This text has shadow with #9E7DBB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #9E7DBB; -webkit-box-shadow: 1px 1px 3px 2px #9E7DBB; box-shadow: 1px 1px 3px 2px #9E7DBB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #9E7DBB; -webkit-box-shadow: 1px 1px 3px 2px #9E7DBB; box-shadow:1px 1px 3px 2px #9E7DBB;">
Div content here</div>
This text has color #9E7DBB on black background.
This text has color #9E7DBB on white background.
This text has black color on #9E7DBB background.
This text has white color on #9E7DBB background.