HEX: #6E408B
RGB: (110,64,139)
#6E408B contains mainly red and blue colors. Web safe color of #6E408B is #663399 (or #639).
#6E408B color RGB value is (110,64,139).
RGB: (110,64,139) (43%,25%,55%)
R 110 of 255 = 43%
G 64 of 255 = 25%
B 139 of 255 = 55%
R + G + B ~ 41%. #6E408B is middle color (not dark and not light).
R + G + B =
110 + 64 + 139 = 313 (100%)
R 110 of 313 ~ 35.14%
G 64 of 313 ~ 20.45%
B 139 of 313 ~ 44.41%
#6E408B color CMYK value is (21,54,0,45).
CMYK: (21,54,0,45) C21M54Y0K45 (21%,54%,0%,45%) (0.21/0.54/0.00/0.45)
6E | 40 | 8B | |
---|---|---|---|
RGB | 110 | 64 | 139 |
HSL | 277° | 36.95% | 39.80% |
HSB/HSV | 277° | 53.96% | 54.51% |
CMYK | 20.86% | 53.96% | 0.00% |
45.49% |
HEX | 6E | 40 | 8B |
Decimal | 110 | 64 | 139 |
Binary | 1101110 | 1000000 | 10001011 |
Octal | 156 | 100 | 213 |
Examples of css and html codes for elements with #6E408B color. Also use rgb(110,64,139) instead hex code.
.myTextColor { color: #6E408B; }
<p style="color:#6E408B">This sample text font color is #6E408B.</p>
This text font color is #6E408B.
.myBgColor { background-color: #6E408B; }
<div style="background-color:#6E408B">Inner text</div>
This div background color is #6E408B.
.myBorderColor { border: 1px solid #6E408B; }
<div style="border:3px solid #6E408B">Div</div>
This div border color is #6E408B.
.myOpacity80 { color: #6E408B; opacity: 0.8; }
<p style="color:#6E408B;opacity:0.8;">80%</p>
Text with #6E408B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6E408B;}
<p style="text-shadow: 3px 3px 1px #6E408B">Text here.</p>
This text has shadow with #6E408B color.
.textShadow {text-shadow: 3px 3px 1px #6E408B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6E408B, 5px 5px 20px red">Text here.</p>
This text has shadow with #6E408B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6E408B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6E408B, Direction=45, Strength=4)">Text</p>
This text has shadow with #6E408B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6E408B; -webkit-box-shadow: 1px 1px 3px 2px #6E408B; box-shadow: 1px 1px 3px 2px #6E408B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6E408B; -webkit-box-shadow: 1px 1px 3px 2px #6E408B; box-shadow:1px 1px 3px 2px #6E408B;">
Div content here</div>
This text has color #6E408B on black background.
This text has color #6E408B on white background.
This text has black color on #6E408B background.
This text has white color on #6E408B background.