HEX: #6E4D8E
RGB: (110,77,142)
#6E4D8E contains mainly red and blue colors. Web safe color of #6E4D8E is #663399 (or #639).
#6E4D8E color RGB value is (110,77,142).
RGB: (110,77,142) (43%,30%,56%)
R 110 of 255 = 43%
G 77 of 255 = 30%
B 142 of 255 = 56%
R + G + B ~ 43%. #6E4D8E is middle color (not dark and not light).
R + G + B =
110 + 77 + 142 = 329 (100%)
R 110 of 329 ~ 33.43%
G 77 of 329 ~ 23.4%
B 142 of 329 ~ 43.16%
#6E4D8E color CMYK value is (23,46,0,44).
CMYK: (23,46,0,44) C23M46Y0K44 (23%,46%,0%,44%) (0.23/0.46/0.00/0.44)
6E | 4D | 8E | |
---|---|---|---|
RGB | 110 | 77 | 142 |
HSL | 270° | 29.68% | 42.94% |
HSB/HSV | 270° | 45.77% | 55.69% |
CMYK | 22.54% | 45.77% | 0.00% |
44.31% |
HEX | 6E | 4D | 8E |
Decimal | 110 | 77 | 142 |
Binary | 1101110 | 1001101 | 10001110 |
Octal | 156 | 115 | 216 |
Examples of css and html codes for elements with #6E4D8E color. Also use rgb(110,77,142) instead hex code.
.myTextColor { color: #6E4D8E; }
<p style="color:#6E4D8E">This sample text font color is #6E4D8E.</p>
This text font color is #6E4D8E.
.myBgColor { background-color: #6E4D8E; }
<div style="background-color:#6E4D8E">Inner text</div>
This div background color is #6E4D8E.
.myBorderColor { border: 1px solid #6E4D8E; }
<div style="border:3px solid #6E4D8E">Div</div>
This div border color is #6E4D8E.
.myOpacity80 { color: #6E4D8E; opacity: 0.8; }
<p style="color:#6E4D8E;opacity:0.8;">80%</p>
Text with #6E4D8E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6E4D8E;}
<p style="text-shadow: 3px 3px 1px #6E4D8E">Text here.</p>
This text has shadow with #6E4D8E color.
.textShadow {text-shadow: 3px 3px 1px #6E4D8E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6E4D8E, 5px 5px 20px red">Text here.</p>
This text has shadow with #6E4D8E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6E4D8E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6E4D8E, Direction=45, Strength=4)">Text</p>
This text has shadow with #6E4D8E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6E4D8E; -webkit-box-shadow: 1px 1px 3px 2px #6E4D8E; box-shadow: 1px 1px 3px 2px #6E4D8E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6E4D8E; -webkit-box-shadow: 1px 1px 3px 2px #6E4D8E; box-shadow:1px 1px 3px 2px #6E4D8E;">
Div content here</div>
This text has color #6E4D8E on black background.
This text has color #6E4D8E on white background.
This text has black color on #6E4D8E background.
This text has white color on #6E4D8E background.