HEX: #6E4689
RGB: (110,70,137)
#6E4689 contains mainly red and blue colors. Web safe color of #6E4689 is #663399 (or #639).
#6E4689 color RGB value is (110,70,137).
RGB: (110,70,137) (43%,27%,54%)
R 110 of 255 = 43%
G 70 of 255 = 27%
B 137 of 255 = 54%
R + G + B ~ 41%. #6E4689 is middle color (not dark and not light).
R + G + B =
110 + 70 + 137 = 317 (100%)
R 110 of 317 ~ 34.7%
G 70 of 317 ~ 22.08%
B 137 of 317 ~ 43.22%
#6E4689 color CMYK value is (20,49,0,46).
CMYK: (20,49,0,46) C20M49Y0K46 (20%,49%,0%,46%) (0.20/0.49/0.00/0.46)
6E | 46 | 89 | |
---|---|---|---|
RGB | 110 | 70 | 137 |
HSL | 276° | 32.37% | 40.59% |
HSB/HSV | 276° | 48.91% | 53.73% |
CMYK | 19.71% | 48.91% | 0.00% |
46.27% |
HEX | 6E | 46 | 89 |
Decimal | 110 | 70 | 137 |
Binary | 1101110 | 1000110 | 10001001 |
Octal | 156 | 106 | 211 |
Examples of css and html codes for elements with #6E4689 color. Also use rgb(110,70,137) instead hex code.
.myTextColor { color: #6E4689; }
<p style="color:#6E4689">This sample text font color is #6E4689.</p>
This text font color is #6E4689.
.myBgColor { background-color: #6E4689; }
<div style="background-color:#6E4689">Inner text</div>
This div background color is #6E4689.
.myBorderColor { border: 1px solid #6E4689; }
<div style="border:3px solid #6E4689">Div</div>
This div border color is #6E4689.
.myOpacity80 { color: #6E4689; opacity: 0.8; }
<p style="color:#6E4689;opacity:0.8;">80%</p>
Text with #6E4689 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6E4689;}
<p style="text-shadow: 3px 3px 1px #6E4689">Text here.</p>
This text has shadow with #6E4689 color.
.textShadow {text-shadow: 3px 3px 1px #6E4689, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6E4689, 5px 5px 20px red">Text here.</p>
This text has shadow with #6E4689 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6E4689, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6E4689, Direction=45, Strength=4)">Text</p>
This text has shadow with #6E4689 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6E4689; -webkit-box-shadow: 1px 1px 3px 2px #6E4689; box-shadow: 1px 1px 3px 2px #6E4689; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6E4689; -webkit-box-shadow: 1px 1px 3px 2px #6E4689; box-shadow:1px 1px 3px 2px #6E4689;">
Div content here</div>
This text has color #6E4689 on black background.
This text has color #6E4689 on white background.
This text has black color on #6E4689 background.
This text has white color on #6E4689 background.