HEX: #46466B
RGB: (70,70,107)
#46466B contains red, green and blue colors in about the same proportion. Web safe color of #46466B is #333366 (or #336).
#46466B color RGB value is (70,70,107).
RGB: (70,70,107) (27%,27%,42%)
R 70 of 255 = 27%
G 70 of 255 = 27%
B 107 of 255 = 42%
R + G + B ~ 32%. #46466B is quite dark color.
R + G + B =
70 + 70 + 107 = 247 (100%)
R 70 of 247 ~ 28.34%
G 70 of 247 ~ 28.34%
B 107 of 247 ~ 43.32%
#46466B color CMYK value is (35,35,0,58).
CMYK: (35,35,0,58) C35M35Y0K58 (35%,35%,0%,58%) (0.35/0.35/0.00/0.58)
46 | 46 | 6B | |
---|---|---|---|
RGB | 70 | 70 | 107 |
HSL | 240° | 20.90% | 34.71% |
HSB/HSV | 240° | 34.58% | 41.96% |
CMYK | 34.58% | 34.58% | 0.00% |
58.04% |
HEX | 46 | 46 | 6B |
Decimal | 70 | 70 | 107 |
Binary | 1000110 | 1000110 | 1101011 |
Octal | 106 | 106 | 153 |
Examples of css and html codes for elements with #46466B color. Also use rgb(70,70,107) instead hex code.
.myTextColor { color: #46466B; }
<p style="color:#46466B">This sample text font color is #46466B.</p>
This text font color is #46466B.
.myBgColor { background-color: #46466B; }
<div style="background-color:#46466B">Inner text</div>
This div background color is #46466B.
.myBorderColor { border: 1px solid #46466B; }
<div style="border:3px solid #46466B">Div</div>
This div border color is #46466B.
.myOpacity80 { color: #46466B; opacity: 0.8; }
<p style="color:#46466B;opacity:0.8;">80%</p>
Text with #46466B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #46466B;}
<p style="text-shadow: 3px 3px 1px #46466B">Text here.</p>
This text has shadow with #46466B color.
.textShadow {text-shadow: 3px 3px 1px #46466B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #46466B, 5px 5px 20px red">Text here.</p>
This text has shadow with #46466B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#46466B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#46466B, Direction=45, Strength=4)">Text</p>
This text has shadow with #46466B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #46466B; -webkit-box-shadow: 1px 1px 3px 2px #46466B; box-shadow: 1px 1px 3px 2px #46466B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #46466B; -webkit-box-shadow: 1px 1px 3px 2px #46466B; box-shadow:1px 1px 3px 2px #46466B;">
Div content here</div>
This text has color #46466B on black background.
This text has color #46466B on white background.
This text has black color on #46466B background.
This text has white color on #46466B background.