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