HEX: #8B6DAE
RGB: (139,109,174)
#8B6DAE contains mainly red and blue colors. Web safe color of #8B6DAE is #996699 (or #969).
#8B6DAE color RGB value is (139,109,174).
RGB: (139,109,174) (55%,43%,68%)
R 139 of 255 = 55%
G 109 of 255 = 43%
B 174 of 255 = 68%
R + G + B ~ 55%. #8B6DAE is middle color (not dark and not light).
R + G + B =
139 + 109 + 174 = 422 (100%)
R 139 of 422 ~ 32.94%
G 109 of 422 ~ 25.83%
B 174 of 422 ~ 41.23%
#8B6DAE color CMYK value is (20,37,0,32).
CMYK: (20,37,0,32) C20M37Y0K32 (20%,37%,0%,32%) (0.20/0.37/0.00/0.32)
8B | 6D | AE | |
---|---|---|---|
RGB | 139 | 109 | 174 |
HSL | 268° | 28.63% | 55.49% |
HSB/HSV | 268° | 37.36% | 68.24% |
CMYK | 20.11% | 37.36% | 0.00% |
31.76% |
HEX | 8B | 6D | AE |
Decimal | 139 | 109 | 174 |
Binary | 10001011 | 1101101 | 10101110 |
Octal | 213 | 155 | 256 |
Examples of css and html codes for elements with #8B6DAE color. Also use rgb(139,109,174) instead hex code.
.myTextColor { color: #8B6DAE; }
<p style="color:#8B6DAE">This sample text font color is #8B6DAE.</p>
This text font color is #8B6DAE.
.myBgColor { background-color: #8B6DAE; }
<div style="background-color:#8B6DAE">Inner text</div>
This div background color is #8B6DAE.
.myBorderColor { border: 1px solid #8B6DAE; }
<div style="border:3px solid #8B6DAE">Div</div>
This div border color is #8B6DAE.
.myOpacity80 { color: #8B6DAE; opacity: 0.8; }
<p style="color:#8B6DAE;opacity:0.8;">80%</p>
Text with #8B6DAE color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8B6DAE;}
<p style="text-shadow: 3px 3px 1px #8B6DAE">Text here.</p>
This text has shadow with #8B6DAE color.
.textShadow {text-shadow: 3px 3px 1px #8B6DAE, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8B6DAE, 5px 5px 20px red">Text here.</p>
This text has shadow with #8B6DAE primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8B6DAE, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8B6DAE, Direction=45, Strength=4)">Text</p>
This text has shadow with #8B6DAE and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8B6DAE; -webkit-box-shadow: 1px 1px 3px 2px #8B6DAE; box-shadow: 1px 1px 3px 2px #8B6DAE; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8B6DAE; -webkit-box-shadow: 1px 1px 3px 2px #8B6DAE; box-shadow:1px 1px 3px 2px #8B6DAE;">
Div content here</div>
This text has color #8B6DAE on black background.
This text has color #8B6DAE on white background.
This text has black color on #8B6DAE background.
This text has white color on #8B6DAE background.