HEX: #9E4FAD
RGB: (158,79,173)
#9E4FAD contains mainly red and blue colors. Web safe color of #9E4FAD is #996699 (or #969).
#9E4FAD color RGB value is (158,79,173).
RGB: (158,79,173) (62%,31%,68%)
R 158 of 255 = 62%
G 79 of 255 = 31%
B 173 of 255 = 68%
R + G + B ~ 54%. #9E4FAD is middle color (not dark and not light).
R + G + B =
158 + 79 + 173 = 410 (100%)
R 158 of 410 ~ 38.54%
G 79 of 410 ~ 19.27%
B 173 of 410 ~ 42.2%
#9E4FAD color CMYK value is (9,54,0,32).
CMYK: (9,54,0,32) C9M54Y0K32 (9%,54%,0%,32%) (0.09/0.54/0.00/0.32)
9E | 4F | AD | |
---|---|---|---|
RGB | 158 | 79 | 173 |
HSL | 290° | 37.30% | 49.41% |
HSB/HSV | 290° | 54.34% | 67.84% |
CMYK | 8.67% | 54.34% | 0.00% |
32.16% |
HEX | 9E | 4F | AD |
Decimal | 158 | 79 | 173 |
Binary | 10011110 | 1001111 | 10101101 |
Octal | 236 | 117 | 255 |
Examples of css and html codes for elements with #9E4FAD color. Also use rgb(158,79,173) instead hex code.
.myTextColor { color: #9E4FAD; }
<p style="color:#9E4FAD">This sample text font color is #9E4FAD.</p>
This text font color is #9E4FAD.
.myBgColor { background-color: #9E4FAD; }
<div style="background-color:#9E4FAD">Inner text</div>
This div background color is #9E4FAD.
.myBorderColor { border: 1px solid #9E4FAD; }
<div style="border:3px solid #9E4FAD">Div</div>
This div border color is #9E4FAD.
.myOpacity80 { color: #9E4FAD; opacity: 0.8; }
<p style="color:#9E4FAD;opacity:0.8;">80%</p>
Text with #9E4FAD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #9E4FAD;}
<p style="text-shadow: 3px 3px 1px #9E4FAD">Text here.</p>
This text has shadow with #9E4FAD color.
.textShadow {text-shadow: 3px 3px 1px #9E4FAD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #9E4FAD, 5px 5px 20px red">Text here.</p>
This text has shadow with #9E4FAD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#9E4FAD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#9E4FAD, Direction=45, Strength=4)">Text</p>
This text has shadow with #9E4FAD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #9E4FAD; -webkit-box-shadow: 1px 1px 3px 2px #9E4FAD; box-shadow: 1px 1px 3px 2px #9E4FAD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #9E4FAD; -webkit-box-shadow: 1px 1px 3px 2px #9E4FAD; box-shadow:1px 1px 3px 2px #9E4FAD;">
Div content here</div>
This text has color #9E4FAD on black background.
This text has color #9E4FAD on white background.
This text has black color on #9E4FAD background.
This text has white color on #9E4FAD background.