HEX: #8E6DBC
RGB: (142,109,188)
#8E6DBC contains mainly red and blue colors. Web safe color of #8E6DBC is #9966CC (or #96C).
#8E6DBC color RGB value is (142,109,188).
RGB: (142,109,188) (56%,43%,74%)
R 142 of 255 = 56%
G 109 of 255 = 43%
B 188 of 255 = 74%
R + G + B ~ 58%. #8E6DBC is middle color (not dark and not light).
R + G + B =
142 + 109 + 188 = 439 (100%)
R 142 of 439 ~ 32.35%
G 109 of 439 ~ 24.83%
B 188 of 439 ~ 42.82%
#8E6DBC color CMYK value is (24,42,0,26).
CMYK: (24,42,0,26) C24M42Y0K26 (24%,42%,0%,26%) (0.24/0.42/0.00/0.26)
8E | 6D | BC | |
---|---|---|---|
RGB | 142 | 109 | 188 |
HSL | 265° | 37.09% | 58.24% |
HSB/HSV | 265° | 42.02% | 73.73% |
CMYK | 24.47% | 42.02% | 0.00% |
26.27% |
HEX | 8E | 6D | BC |
Decimal | 142 | 109 | 188 |
Binary | 10001110 | 1101101 | 10111100 |
Octal | 216 | 155 | 274 |
Examples of css and html codes for elements with #8E6DBC color. Also use rgb(142,109,188) instead hex code.
.myTextColor { color: #8E6DBC; }
<p style="color:#8E6DBC">This sample text font color is #8E6DBC.</p>
This text font color is #8E6DBC.
.myBgColor { background-color: #8E6DBC; }
<div style="background-color:#8E6DBC">Inner text</div>
This div background color is #8E6DBC.
.myBorderColor { border: 1px solid #8E6DBC; }
<div style="border:3px solid #8E6DBC">Div</div>
This div border color is #8E6DBC.
.myOpacity80 { color: #8E6DBC; opacity: 0.8; }
<p style="color:#8E6DBC;opacity:0.8;">80%</p>
Text with #8E6DBC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8E6DBC;}
<p style="text-shadow: 3px 3px 1px #8E6DBC">Text here.</p>
This text has shadow with #8E6DBC color.
.textShadow {text-shadow: 3px 3px 1px #8E6DBC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8E6DBC, 5px 5px 20px red">Text here.</p>
This text has shadow with #8E6DBC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8E6DBC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8E6DBC, Direction=45, Strength=4)">Text</p>
This text has shadow with #8E6DBC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8E6DBC; -webkit-box-shadow: 1px 1px 3px 2px #8E6DBC; box-shadow: 1px 1px 3px 2px #8E6DBC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8E6DBC; -webkit-box-shadow: 1px 1px 3px 2px #8E6DBC; box-shadow:1px 1px 3px 2px #8E6DBC;">
Div content here</div>
This text has color #8E6DBC on black background.
This text has color #8E6DBC on white background.
This text has black color on #8E6DBC background.
This text has white color on #8E6DBC background.