HEX: #8B0DB0
RGB: (139,13,176)
#8B0DB0 contains mainly red and blue colors. Web safe color of #8B0DB0 is #990099 (or #909).
#8B0DB0 color RGB value is (139,13,176).
RGB: (139,13,176) (55%,5%,69%)
R 139 of 255 = 55%
G 13 of 255 = 5%
B 176 of 255 = 69%
R + G + B ~ 43%. #8B0DB0 is middle color (not dark and not light).
R + G + B =
139 + 13 + 176 = 328 (100%)
R 139 of 328 ~ 42.38%
G 13 of 328 ~ 3.96%
B 176 of 328 ~ 53.66%
#8B0DB0 color CMYK value is (21,93,0,31).
CMYK: (21,93,0,31) C21M93Y0K31 (21%,93%,0%,31%) (0.21/0.93/0.00/0.31)
8B | 0D | B0 | |
---|---|---|---|
RGB | 139 | 13 | 176 |
HSL | 286° | 86.24% | 37.06% |
HSB/HSV | 286° | 92.61% | 69.02% |
CMYK | 21.02% | 92.61% | 0.00% |
30.98% |
HEX | 8B | 0D | B0 |
Decimal | 139 | 13 | 176 |
Binary | 10001011 | 1101 | 10110000 |
Octal | 213 | 15 | 260 |
Examples of css and html codes for elements with #8B0DB0 color. Also use rgb(139,13,176) instead hex code.
.myTextColor { color: #8B0DB0; }
<p style="color:#8B0DB0">This sample text font color is #8B0DB0.</p>
This text font color is #8B0DB0.
.myBgColor { background-color: #8B0DB0; }
<div style="background-color:#8B0DB0">Inner text</div>
This div background color is #8B0DB0.
.myBorderColor { border: 1px solid #8B0DB0; }
<div style="border:3px solid #8B0DB0">Div</div>
This div border color is #8B0DB0.
.myOpacity80 { color: #8B0DB0; opacity: 0.8; }
<p style="color:#8B0DB0;opacity:0.8;">80%</p>
Text with #8B0DB0 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8B0DB0;}
<p style="text-shadow: 3px 3px 1px #8B0DB0">Text here.</p>
This text has shadow with #8B0DB0 color.
.textShadow {text-shadow: 3px 3px 1px #8B0DB0, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8B0DB0, 5px 5px 20px red">Text here.</p>
This text has shadow with #8B0DB0 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8B0DB0, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8B0DB0, Direction=45, Strength=4)">Text</p>
This text has shadow with #8B0DB0 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8B0DB0; -webkit-box-shadow: 1px 1px 3px 2px #8B0DB0; box-shadow: 1px 1px 3px 2px #8B0DB0; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8B0DB0; -webkit-box-shadow: 1px 1px 3px 2px #8B0DB0; box-shadow:1px 1px 3px 2px #8B0DB0;">
Div content here</div>
This text has color #8B0DB0 on black background.
This text has color #8B0DB0 on white background.
This text has black color on #8B0DB0 background.
This text has white color on #8B0DB0 background.