HEX: #8B47AE
RGB: (139,71,174)
#8B47AE contains mainly red and blue colors. Web safe color of #8B47AE is #993399 (or #939).
#8B47AE color RGB value is (139,71,174).
RGB: (139,71,174) (55%,28%,68%)
R 139 of 255 = 55%
G 71 of 255 = 28%
B 174 of 255 = 68%
R + G + B ~ 50%. #8B47AE is middle color (not dark and not light).
R + G + B =
139 + 71 + 174 = 384 (100%)
R 139 of 384 ~ 36.2%
G 71 of 384 ~ 18.49%
B 174 of 384 ~ 45.31%
#8B47AE color CMYK value is (20,59,0,32).
CMYK: (20,59,0,32) C20M59Y0K32 (20%,59%,0%,32%) (0.20/0.59/0.00/0.32)
8B | 47 | AE | |
---|---|---|---|
RGB | 139 | 71 | 174 |
HSL | 280° | 42.04% | 48.04% |
HSB/HSV | 280° | 59.20% | 68.24% |
CMYK | 20.11% | 59.20% | 0.00% |
31.76% |
HEX | 8B | 47 | AE |
Decimal | 139 | 71 | 174 |
Binary | 10001011 | 1000111 | 10101110 |
Octal | 213 | 107 | 256 |
Examples of css and html codes for elements with #8B47AE color. Also use rgb(139,71,174) instead hex code.
.myTextColor { color: #8B47AE; }
<p style="color:#8B47AE">This sample text font color is #8B47AE.</p>
This text font color is #8B47AE.
.myBgColor { background-color: #8B47AE; }
<div style="background-color:#8B47AE">Inner text</div>
This div background color is #8B47AE.
.myBorderColor { border: 1px solid #8B47AE; }
<div style="border:3px solid #8B47AE">Div</div>
This div border color is #8B47AE.
.myOpacity80 { color: #8B47AE; opacity: 0.8; }
<p style="color:#8B47AE;opacity:0.8;">80%</p>
Text with #8B47AE color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8B47AE;}
<p style="text-shadow: 3px 3px 1px #8B47AE">Text here.</p>
This text has shadow with #8B47AE color.
.textShadow {text-shadow: 3px 3px 1px #8B47AE, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8B47AE, 5px 5px 20px red">Text here.</p>
This text has shadow with #8B47AE primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8B47AE, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8B47AE, Direction=45, Strength=4)">Text</p>
This text has shadow with #8B47AE and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8B47AE; -webkit-box-shadow: 1px 1px 3px 2px #8B47AE; box-shadow: 1px 1px 3px 2px #8B47AE; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8B47AE; -webkit-box-shadow: 1px 1px 3px 2px #8B47AE; box-shadow:1px 1px 3px 2px #8B47AE;">
Div content here</div>
This text has color #8B47AE on black background.
This text has color #8B47AE on white background.
This text has black color on #8B47AE background.
This text has white color on #8B47AE background.