HEX: #46496C
RGB: (70,73,108)
#46496C contains red, green and blue colors in about the same proportion. Web safe color of #46496C is #333366 (or #336).
#46496C color RGB value is (70,73,108).
RGB: (70,73,108) (27%,29%,42%)
R 70 of 255 = 27%
G 73 of 255 = 29%
B 108 of 255 = 42%
R + G + B ~ 33%. #46496C is quite dark color.
R + G + B =
70 + 73 + 108 = 251 (100%)
R 70 of 251 ~ 27.89%
G 73 of 251 ~ 29.08%
B 108 of 251 ~ 43.03%
#46496C color CMYK value is (35,32,0,58).
CMYK: (35,32,0,58) C35M32Y0K58 (35%,32%,0%,58%) (0.35/0.32/0.00/0.58)
46 | 49 | 6C | |
---|---|---|---|
RGB | 70 | 73 | 108 |
HSL | 235° | 21.35% | 34.90% |
HSB/HSV | 235° | 35.19% | 42.35% |
CMYK | 35.19% | 32.41% | 0.00% |
57.65% |
HEX | 46 | 49 | 6C |
Decimal | 70 | 73 | 108 |
Binary | 1000110 | 1001001 | 1101100 |
Octal | 106 | 111 | 154 |
Examples of css and html codes for elements with #46496C color. Also use rgb(70,73,108) instead hex code.
.myTextColor { color: #46496C; }
<p style="color:#46496C">This sample text font color is #46496C.</p>
This text font color is #46496C.
.myBgColor { background-color: #46496C; }
<div style="background-color:#46496C">Inner text</div>
This div background color is #46496C.
.myBorderColor { border: 1px solid #46496C; }
<div style="border:3px solid #46496C">Div</div>
This div border color is #46496C.
.myOpacity80 { color: #46496C; opacity: 0.8; }
<p style="color:#46496C;opacity:0.8;">80%</p>
Text with #46496C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #46496C;}
<p style="text-shadow: 3px 3px 1px #46496C">Text here.</p>
This text has shadow with #46496C color.
.textShadow {text-shadow: 3px 3px 1px #46496C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #46496C, 5px 5px 20px red">Text here.</p>
This text has shadow with #46496C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#46496C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#46496C, Direction=45, Strength=4)">Text</p>
This text has shadow with #46496C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #46496C; -webkit-box-shadow: 1px 1px 3px 2px #46496C; box-shadow: 1px 1px 3px 2px #46496C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #46496C; -webkit-box-shadow: 1px 1px 3px 2px #46496C; box-shadow:1px 1px 3px 2px #46496C;">
Div content here</div>
This text has color #46496C on black background.
This text has color #46496C on white background.
This text has black color on #46496C background.
This text has white color on #46496C background.