HEX: #8B50CB
RGB: (139,80,203)
#8B50CB contains mainly blue color. Web safe color of #8B50CB is #9966CC (or #96C).
#8B50CB color RGB value is (139,80,203).
RGB: (139,80,203) (55%,31%,80%)
R 139 of 255 = 55%
G 80 of 255 = 31%
B 203 of 255 = 80%
R + G + B ~ 55%. #8B50CB is middle color (not dark and not light).
R + G + B =
139 + 80 + 203 = 422 (100%)
R 139 of 422 ~ 32.94%
G 80 of 422 ~ 18.96%
B 203 of 422 ~ 48.1%
#8B50CB color CMYK value is (32,61,0,20).
CMYK: (32,61,0,20) C32M61Y0K20 (32%,61%,0%,20%) (0.32/0.61/0.00/0.20)
8B | 50 | CB | |
---|---|---|---|
RGB | 139 | 80 | 203 |
HSL | 269° | 54.19% | 55.49% |
HSB/HSV | 269° | 60.59% | 79.61% |
CMYK | 31.53% | 60.59% | 0.00% |
20.39% |
HEX | 8B | 50 | CB |
Decimal | 139 | 80 | 203 |
Binary | 10001011 | 1010000 | 11001011 |
Octal | 213 | 120 | 313 |
Examples of css and html codes for elements with #8B50CB color. Also use rgb(139,80,203) instead hex code.
.myTextColor { color: #8B50CB; }
<p style="color:#8B50CB">This sample text font color is #8B50CB.</p>
This text font color is #8B50CB.
.myBgColor { background-color: #8B50CB; }
<div style="background-color:#8B50CB">Inner text</div>
This div background color is #8B50CB.
.myBorderColor { border: 1px solid #8B50CB; }
<div style="border:3px solid #8B50CB">Div</div>
This div border color is #8B50CB.
.myOpacity80 { color: #8B50CB; opacity: 0.8; }
<p style="color:#8B50CB;opacity:0.8;">80%</p>
Text with #8B50CB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8B50CB;}
<p style="text-shadow: 3px 3px 1px #8B50CB">Text here.</p>
This text has shadow with #8B50CB color.
.textShadow {text-shadow: 3px 3px 1px #8B50CB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8B50CB, 5px 5px 20px red">Text here.</p>
This text has shadow with #8B50CB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8B50CB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8B50CB, Direction=45, Strength=4)">Text</p>
This text has shadow with #8B50CB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8B50CB; -webkit-box-shadow: 1px 1px 3px 2px #8B50CB; box-shadow: 1px 1px 3px 2px #8B50CB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8B50CB; -webkit-box-shadow: 1px 1px 3px 2px #8B50CB; box-shadow:1px 1px 3px 2px #8B50CB;">
Div content here</div>
This text has color #8B50CB on black background.
This text has color #8B50CB on white background.
This text has black color on #8B50CB background.
This text has white color on #8B50CB background.