HEX: #9E5FBE
RGB: (158,95,190)
#9E5FBE contains mainly red and blue colors. Web safe color of #9E5FBE is #9966CC (or #96C).
#9E5FBE color RGB value is (158,95,190).
RGB: (158,95,190) (62%,37%,75%)
R 158 of 255 = 62%
G 95 of 255 = 37%
B 190 of 255 = 75%
R + G + B ~ 58%. #9E5FBE is middle color (not dark and not light).
R + G + B =
158 + 95 + 190 = 443 (100%)
R 158 of 443 ~ 35.67%
G 95 of 443 ~ 21.44%
B 190 of 443 ~ 42.89%
#9E5FBE color CMYK value is (17,50,0,25).
CMYK: (17,50,0,25) C17M50Y0K25 (17%,50%,0%,25%) (0.17/0.50/0.00/0.25)
9E | 5F | BE | |
---|---|---|---|
RGB | 158 | 95 | 190 |
HSL | 280° | 42.22% | 55.88% |
HSB/HSV | 280° | 50.00% | 74.51% |
CMYK | 16.84% | 50.00% | 0.00% |
25.49% |
HEX | 9E | 5F | BE |
Decimal | 158 | 95 | 190 |
Binary | 10011110 | 1011111 | 10111110 |
Octal | 236 | 137 | 276 |
Examples of css and html codes for elements with #9E5FBE color. Also use rgb(158,95,190) instead hex code.
.myTextColor { color: #9E5FBE; }
<p style="color:#9E5FBE">This sample text font color is #9E5FBE.</p>
This text font color is #9E5FBE.
.myBgColor { background-color: #9E5FBE; }
<div style="background-color:#9E5FBE">Inner text</div>
This div background color is #9E5FBE.
.myBorderColor { border: 1px solid #9E5FBE; }
<div style="border:3px solid #9E5FBE">Div</div>
This div border color is #9E5FBE.
.myOpacity80 { color: #9E5FBE; opacity: 0.8; }
<p style="color:#9E5FBE;opacity:0.8;">80%</p>
Text with #9E5FBE color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #9E5FBE;}
<p style="text-shadow: 3px 3px 1px #9E5FBE">Text here.</p>
This text has shadow with #9E5FBE color.
.textShadow {text-shadow: 3px 3px 1px #9E5FBE, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #9E5FBE, 5px 5px 20px red">Text here.</p>
This text has shadow with #9E5FBE primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#9E5FBE, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#9E5FBE, Direction=45, Strength=4)">Text</p>
This text has shadow with #9E5FBE and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #9E5FBE; -webkit-box-shadow: 1px 1px 3px 2px #9E5FBE; box-shadow: 1px 1px 3px 2px #9E5FBE; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #9E5FBE; -webkit-box-shadow: 1px 1px 3px 2px #9E5FBE; box-shadow:1px 1px 3px 2px #9E5FBE;">
Div content here</div>
This text has color #9E5FBE on black background.
This text has color #9E5FBE on white background.
This text has black color on #9E5FBE background.
This text has white color on #9E5FBE background.