HEX: #9E37AD
RGB: (158,55,173)
#9E37AD contains mainly red and blue colors. Web safe color of #9E37AD is #993399 (or #939).
#9E37AD color RGB value is (158,55,173).
RGB: (158,55,173) (62%,22%,68%)
R 158 of 255 = 62%
G 55 of 255 = 22%
B 173 of 255 = 68%
R + G + B ~ 51%. #9E37AD is middle color (not dark and not light).
R + G + B =
158 + 55 + 173 = 386 (100%)
R 158 of 386 ~ 40.93%
G 55 of 386 ~ 14.25%
B 173 of 386 ~ 44.82%
#9E37AD color CMYK value is (9,68,0,32).
CMYK: (9,68,0,32) C9M68Y0K32 (9%,68%,0%,32%) (0.09/0.68/0.00/0.32)
9E | 37 | AD | |
---|---|---|---|
RGB | 158 | 55 | 173 |
HSL | 292° | 51.75% | 44.71% |
HSB/HSV | 292° | 68.21% | 67.84% |
CMYK | 8.67% | 68.21% | 0.00% |
32.16% |
HEX | 9E | 37 | AD |
Decimal | 158 | 55 | 173 |
Binary | 10011110 | 110111 | 10101101 |
Octal | 236 | 67 | 255 |
Examples of css and html codes for elements with #9E37AD color. Also use rgb(158,55,173) instead hex code.
.myTextColor { color: #9E37AD; }
<p style="color:#9E37AD">This sample text font color is #9E37AD.</p>
This text font color is #9E37AD.
.myBgColor { background-color: #9E37AD; }
<div style="background-color:#9E37AD">Inner text</div>
This div background color is #9E37AD.
.myBorderColor { border: 1px solid #9E37AD; }
<div style="border:3px solid #9E37AD">Div</div>
This div border color is #9E37AD.
.myOpacity80 { color: #9E37AD; opacity: 0.8; }
<p style="color:#9E37AD;opacity:0.8;">80%</p>
Text with #9E37AD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #9E37AD;}
<p style="text-shadow: 3px 3px 1px #9E37AD">Text here.</p>
This text has shadow with #9E37AD color.
.textShadow {text-shadow: 3px 3px 1px #9E37AD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #9E37AD, 5px 5px 20px red">Text here.</p>
This text has shadow with #9E37AD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#9E37AD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#9E37AD, Direction=45, Strength=4)">Text</p>
This text has shadow with #9E37AD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #9E37AD; -webkit-box-shadow: 1px 1px 3px 2px #9E37AD; box-shadow: 1px 1px 3px 2px #9E37AD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #9E37AD; -webkit-box-shadow: 1px 1px 3px 2px #9E37AD; box-shadow:1px 1px 3px 2px #9E37AD;">
Div content here</div>
This text has color #9E37AD on black background.
This text has color #9E37AD on white background.
This text has black color on #9E37AD background.
This text has white color on #9E37AD background.