HEX: #8B5ED0
RGB: (139,94,208)
#8B5ED0 contains mainly blue color. Web safe color of #8B5ED0 is #9966CC (or #96C).
#8B5ED0 color RGB value is (139,94,208).
RGB: (139,94,208) (55%,37%,82%)
R 139 of 255 = 55%
G 94 of 255 = 37%
B 208 of 255 = 82%
R + G + B ~ 58%. #8B5ED0 is middle color (not dark and not light).
R + G + B =
139 + 94 + 208 = 441 (100%)
R 139 of 441 ~ 31.52%
G 94 of 441 ~ 21.32%
B 208 of 441 ~ 47.17%
#8B5ED0 color CMYK value is (33,55,0,18).
CMYK: (33,55,0,18) C33M55Y0K18 (33%,55%,0%,18%) (0.33/0.55/0.00/0.18)
8B | 5E | D0 | |
---|---|---|---|
RGB | 139 | 94 | 208 |
HSL | 264° | 54.81% | 59.22% |
HSB/HSV | 264° | 54.81% | 81.57% |
CMYK | 33.17% | 54.81% | 0.00% |
18.43% |
HEX | 8B | 5E | D0 |
Decimal | 139 | 94 | 208 |
Binary | 10001011 | 1011110 | 11010000 |
Octal | 213 | 136 | 320 |
Examples of css and html codes for elements with #8B5ED0 color. Also use rgb(139,94,208) instead hex code.
.myTextColor { color: #8B5ED0; }
<p style="color:#8B5ED0">This sample text font color is #8B5ED0.</p>
This text font color is #8B5ED0.
.myBgColor { background-color: #8B5ED0; }
<div style="background-color:#8B5ED0">Inner text</div>
This div background color is #8B5ED0.
.myBorderColor { border: 1px solid #8B5ED0; }
<div style="border:3px solid #8B5ED0">Div</div>
This div border color is #8B5ED0.
.myOpacity80 { color: #8B5ED0; opacity: 0.8; }
<p style="color:#8B5ED0;opacity:0.8;">80%</p>
Text with #8B5ED0 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8B5ED0;}
<p style="text-shadow: 3px 3px 1px #8B5ED0">Text here.</p>
This text has shadow with #8B5ED0 color.
.textShadow {text-shadow: 3px 3px 1px #8B5ED0, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8B5ED0, 5px 5px 20px red">Text here.</p>
This text has shadow with #8B5ED0 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8B5ED0, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8B5ED0, Direction=45, Strength=4)">Text</p>
This text has shadow with #8B5ED0 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8B5ED0; -webkit-box-shadow: 1px 1px 3px 2px #8B5ED0; box-shadow: 1px 1px 3px 2px #8B5ED0; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8B5ED0; -webkit-box-shadow: 1px 1px 3px 2px #8B5ED0; box-shadow:1px 1px 3px 2px #8B5ED0;">
Div content here</div>
This text has color #8B5ED0 on black background.
This text has color #8B5ED0 on white background.
This text has black color on #8B5ED0 background.
This text has white color on #8B5ED0 background.