HEX: #9E64DB
RGB: (158,100,219)
#9E64DB contains mainly blue color. Web safe color of #9E64DB is #9966CC (or #96C).
#9E64DB color RGB value is (158,100,219).
RGB: (158,100,219) (62%,39%,86%)
R 158 of 255 = 62%
G 100 of 255 = 39%
B 219 of 255 = 86%
R + G + B ~ 62%. #9E64DB is quite light color.
R + G + B =
158 + 100 + 219 = 477 (100%)
R 158 of 477 ~ 33.12%
G 100 of 477 ~ 20.96%
B 219 of 477 ~ 45.91%
#9E64DB color CMYK value is (28,54,0,14).
CMYK: (28,54,0,14) C28M54Y0K14 (28%,54%,0%,14%) (0.28/0.54/0.00/0.14)
9E | 64 | DB | |
---|---|---|---|
RGB | 158 | 100 | 219 |
HSL | 269° | 62.30% | 62.55% |
HSB/HSV | 269° | 54.34% | 85.88% |
CMYK | 27.85% | 54.34% | 0.00% |
14.12% |
HEX | 9E | 64 | DB |
Decimal | 158 | 100 | 219 |
Binary | 10011110 | 1100100 | 11011011 |
Octal | 236 | 144 | 333 |
Examples of css and html codes for elements with #9E64DB color. Also use rgb(158,100,219) instead hex code.
.myTextColor { color: #9E64DB; }
<p style="color:#9E64DB">This sample text font color is #9E64DB.</p>
This text font color is #9E64DB.
.myBgColor { background-color: #9E64DB; }
<div style="background-color:#9E64DB">Inner text</div>
This div background color is #9E64DB.
.myBorderColor { border: 1px solid #9E64DB; }
<div style="border:3px solid #9E64DB">Div</div>
This div border color is #9E64DB.
.myOpacity80 { color: #9E64DB; opacity: 0.8; }
<p style="color:#9E64DB;opacity:0.8;">80%</p>
Text with #9E64DB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #9E64DB;}
<p style="text-shadow: 3px 3px 1px #9E64DB">Text here.</p>
This text has shadow with #9E64DB color.
.textShadow {text-shadow: 3px 3px 1px #9E64DB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #9E64DB, 5px 5px 20px red">Text here.</p>
This text has shadow with #9E64DB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#9E64DB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#9E64DB, Direction=45, Strength=4)">Text</p>
This text has shadow with #9E64DB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #9E64DB; -webkit-box-shadow: 1px 1px 3px 2px #9E64DB; box-shadow: 1px 1px 3px 2px #9E64DB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #9E64DB; -webkit-box-shadow: 1px 1px 3px 2px #9E64DB; box-shadow:1px 1px 3px 2px #9E64DB;">
Div content here</div>
This text has color #9E64DB on black background.
This text has color #9E64DB on white background.
This text has black color on #9E64DB background.
This text has white color on #9E64DB background.