HEX: #8B59BA
RGB: (139,89,186)
#8B59BA contains mainly red and blue colors. Web safe color of #8B59BA is #9966CC (or #96C).
#8B59BA color RGB value is (139,89,186).
RGB: (139,89,186) (55%,35%,73%)
R 139 of 255 = 55%
G 89 of 255 = 35%
B 186 of 255 = 73%
R + G + B ~ 54%. #8B59BA is middle color (not dark and not light).
R + G + B =
139 + 89 + 186 = 414 (100%)
R 139 of 414 ~ 33.57%
G 89 of 414 ~ 21.5%
B 186 of 414 ~ 44.93%
#8B59BA color CMYK value is (25,52,0,27).
CMYK: (25,52,0,27) C25M52Y0K27 (25%,52%,0%,27%) (0.25/0.52/0.00/0.27)
8B | 59 | BA | |
---|---|---|---|
RGB | 139 | 89 | 186 |
HSL | 271° | 41.28% | 53.92% |
HSB/HSV | 271° | 52.15% | 72.94% |
CMYK | 25.27% | 52.15% | 0.00% |
27.06% |
HEX | 8B | 59 | BA |
Decimal | 139 | 89 | 186 |
Binary | 10001011 | 1011001 | 10111010 |
Octal | 213 | 131 | 272 |
Examples of css and html codes for elements with #8B59BA color. Also use rgb(139,89,186) instead hex code.
.myTextColor { color: #8B59BA; }
<p style="color:#8B59BA">This sample text font color is #8B59BA.</p>
This text font color is #8B59BA.
.myBgColor { background-color: #8B59BA; }
<div style="background-color:#8B59BA">Inner text</div>
This div background color is #8B59BA.
.myBorderColor { border: 1px solid #8B59BA; }
<div style="border:3px solid #8B59BA">Div</div>
This div border color is #8B59BA.
.myOpacity80 { color: #8B59BA; opacity: 0.8; }
<p style="color:#8B59BA;opacity:0.8;">80%</p>
Text with #8B59BA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8B59BA;}
<p style="text-shadow: 3px 3px 1px #8B59BA">Text here.</p>
This text has shadow with #8B59BA color.
.textShadow {text-shadow: 3px 3px 1px #8B59BA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8B59BA, 5px 5px 20px red">Text here.</p>
This text has shadow with #8B59BA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8B59BA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8B59BA, Direction=45, Strength=4)">Text</p>
This text has shadow with #8B59BA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8B59BA; -webkit-box-shadow: 1px 1px 3px 2px #8B59BA; box-shadow: 1px 1px 3px 2px #8B59BA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8B59BA; -webkit-box-shadow: 1px 1px 3px 2px #8B59BA; box-shadow:1px 1px 3px 2px #8B59BA;">
Div content here</div>
This text has color #8B59BA on black background.
This text has color #8B59BA on white background.
This text has black color on #8B59BA background.
This text has white color on #8B59BA background.