HEX: #6E518B
RGB: (110,81,139)
#6E518B contains red, green and blue colors in about the same proportion. Web safe color of #6E518B is #666699 (or #669).
#6E518B color RGB value is (110,81,139).
RGB: (110,81,139) (43%,32%,55%)
R 110 of 255 = 43%
G 81 of 255 = 32%
B 139 of 255 = 55%
R + G + B ~ 43%. #6E518B is middle color (not dark and not light).
R + G + B =
110 + 81 + 139 = 330 (100%)
R 110 of 330 ~ 33.33%
G 81 of 330 ~ 24.55%
B 139 of 330 ~ 42.12%
#6E518B color CMYK value is (21,42,0,45).
CMYK: (21,42,0,45) C21M42Y0K45 (21%,42%,0%,45%) (0.21/0.42/0.00/0.45)
6E | 51 | 8B | |
---|---|---|---|
RGB | 110 | 81 | 139 |
HSL | 270° | 26.36% | 43.14% |
HSB/HSV | 270° | 41.73% | 54.51% |
CMYK | 20.86% | 41.73% | 0.00% |
45.49% |
HEX | 6E | 51 | 8B |
Decimal | 110 | 81 | 139 |
Binary | 1101110 | 1010001 | 10001011 |
Octal | 156 | 121 | 213 |
Examples of css and html codes for elements with #6E518B color. Also use rgb(110,81,139) instead hex code.
.myTextColor { color: #6E518B; }
<p style="color:#6E518B">This sample text font color is #6E518B.</p>
This text font color is #6E518B.
.myBgColor { background-color: #6E518B; }
<div style="background-color:#6E518B">Inner text</div>
This div background color is #6E518B.
.myBorderColor { border: 1px solid #6E518B; }
<div style="border:3px solid #6E518B">Div</div>
This div border color is #6E518B.
.myOpacity80 { color: #6E518B; opacity: 0.8; }
<p style="color:#6E518B;opacity:0.8;">80%</p>
Text with #6E518B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6E518B;}
<p style="text-shadow: 3px 3px 1px #6E518B">Text here.</p>
This text has shadow with #6E518B color.
.textShadow {text-shadow: 3px 3px 1px #6E518B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6E518B, 5px 5px 20px red">Text here.</p>
This text has shadow with #6E518B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6E518B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6E518B, Direction=45, Strength=4)">Text</p>
This text has shadow with #6E518B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6E518B; -webkit-box-shadow: 1px 1px 3px 2px #6E518B; box-shadow: 1px 1px 3px 2px #6E518B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6E518B; -webkit-box-shadow: 1px 1px 3px 2px #6E518B; box-shadow:1px 1px 3px 2px #6E518B;">
Div content here</div>
This text has color #6E518B on black background.
This text has color #6E518B on white background.
This text has black color on #6E518B background.
This text has white color on #6E518B background.