HEX: #9B50BA
RGB: (155,80,186)
#9B50BA contains mainly red and blue colors. Web safe color of #9B50BA is #9966CC (or #96C).
#9B50BA color RGB value is (155,80,186).
RGB: (155,80,186) (61%,31%,73%)
R 155 of 255 = 61%
G 80 of 255 = 31%
B 186 of 255 = 73%
R + G + B ~ 55%. #9B50BA is middle color (not dark and not light).
R + G + B =
155 + 80 + 186 = 421 (100%)
R 155 of 421 ~ 36.82%
G 80 of 421 ~ 19%
B 186 of 421 ~ 44.18%
#9B50BA color CMYK value is (17,57,0,27).
CMYK: (17,57,0,27) C17M57Y0K27 (17%,57%,0%,27%) (0.17/0.57/0.00/0.27)
9B | 50 | BA | |
---|---|---|---|
RGB | 155 | 80 | 186 |
HSL | 282° | 43.44% | 52.16% |
HSB/HSV | 282° | 56.99% | 72.94% |
CMYK | 16.67% | 56.99% | 0.00% |
27.06% |
HEX | 9B | 50 | BA |
Decimal | 155 | 80 | 186 |
Binary | 10011011 | 1010000 | 10111010 |
Octal | 233 | 120 | 272 |
Examples of css and html codes for elements with #9B50BA color. Also use rgb(155,80,186) instead hex code.
.myTextColor { color: #9B50BA; }
<p style="color:#9B50BA">This sample text font color is #9B50BA.</p>
This text font color is #9B50BA.
.myBgColor { background-color: #9B50BA; }
<div style="background-color:#9B50BA">Inner text</div>
This div background color is #9B50BA.
.myBorderColor { border: 1px solid #9B50BA; }
<div style="border:3px solid #9B50BA">Div</div>
This div border color is #9B50BA.
.myOpacity80 { color: #9B50BA; opacity: 0.8; }
<p style="color:#9B50BA;opacity:0.8;">80%</p>
Text with #9B50BA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #9B50BA;}
<p style="text-shadow: 3px 3px 1px #9B50BA">Text here.</p>
This text has shadow with #9B50BA color.
.textShadow {text-shadow: 3px 3px 1px #9B50BA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #9B50BA, 5px 5px 20px red">Text here.</p>
This text has shadow with #9B50BA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#9B50BA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#9B50BA, Direction=45, Strength=4)">Text</p>
This text has shadow with #9B50BA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #9B50BA; -webkit-box-shadow: 1px 1px 3px 2px #9B50BA; box-shadow: 1px 1px 3px 2px #9B50BA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #9B50BA; -webkit-box-shadow: 1px 1px 3px 2px #9B50BA; box-shadow:1px 1px 3px 2px #9B50BA;">
Div content here</div>
This text has color #9B50BA on black background.
This text has color #9B50BA on white background.
This text has black color on #9B50BA background.
This text has white color on #9B50BA background.