HEX: #9D48EE
RGB: (157,72,238)
#9D48EE contains mainly blue color. Web safe color of #9D48EE is #9933FF (or #93F).
#9D48EE color RGB value is (157,72,238).
RGB: (157,72,238) (62%,28%,93%)
R 157 of 255 = 62%
G 72 of 255 = 28%
B 238 of 255 = 93%
R + G + B ~ 61%. #9D48EE is quite light color.
R + G + B =
157 + 72 + 238 = 467 (100%)
R 157 of 467 ~ 33.62%
G 72 of 467 ~ 15.42%
B 238 of 467 ~ 50.96%
#9D48EE color CMYK value is (34,70,0,7).
CMYK: (34,70,0,7) C34M70Y0K7 (34%,70%,0%,7%) (0.34/0.70/0.00/0.07)
9D | 48 | EE | |
---|---|---|---|
RGB | 157 | 72 | 238 |
HSL | 271° | 83.00% | 60.78% |
HSB/HSV | 271° | 69.75% | 93.33% |
CMYK | 34.03% | 69.75% | 0.00% |
6.67% |
HEX | 9D | 48 | EE |
Decimal | 157 | 72 | 238 |
Binary | 10011101 | 1001000 | 11101110 |
Octal | 235 | 110 | 356 |
Examples of css and html codes for elements with #9D48EE color. Also use rgb(157,72,238) instead hex code.
.myTextColor { color: #9D48EE; }
<p style="color:#9D48EE">This sample text font color is #9D48EE.</p>
This text font color is #9D48EE.
.myBgColor { background-color: #9D48EE; }
<div style="background-color:#9D48EE">Inner text</div>
This div background color is #9D48EE.
.myBorderColor { border: 1px solid #9D48EE; }
<div style="border:3px solid #9D48EE">Div</div>
This div border color is #9D48EE.
.myOpacity80 { color: #9D48EE; opacity: 0.8; }
<p style="color:#9D48EE;opacity:0.8;">80%</p>
Text with #9D48EE color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #9D48EE;}
<p style="text-shadow: 3px 3px 1px #9D48EE">Text here.</p>
This text has shadow with #9D48EE color.
.textShadow {text-shadow: 3px 3px 1px #9D48EE, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #9D48EE, 5px 5px 20px red">Text here.</p>
This text has shadow with #9D48EE primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#9D48EE, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#9D48EE, Direction=45, Strength=4)">Text</p>
This text has shadow with #9D48EE and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #9D48EE; -webkit-box-shadow: 1px 1px 3px 2px #9D48EE; box-shadow: 1px 1px 3px 2px #9D48EE; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #9D48EE; -webkit-box-shadow: 1px 1px 3px 2px #9D48EE; box-shadow:1px 1px 3px 2px #9D48EE;">
Div content here</div>
This text has color #9D48EE on black background.
This text has color #9D48EE on white background.
This text has black color on #9D48EE background.
This text has white color on #9D48EE background.