HEX: #46479B
RGB: (70,71,155)
#46479B contains mainly blue color. Web safe color of #46479B is #333399 (or #339).
#46479B color RGB value is (70,71,155).
RGB: (70,71,155) (27%,28%,61%)
R 70 of 255 = 27%
G 71 of 255 = 28%
B 155 of 255 = 61%
R + G + B ~ 39%. #46479B is quite dark color.
R + G + B =
70 + 71 + 155 = 296 (100%)
R 70 of 296 ~ 23.65%
G 71 of 296 ~ 23.99%
B 155 of 296 ~ 52.36%
#46479B color CMYK value is (55,54,0,39).
CMYK: (55,54,0,39) C55M54Y0K39 (55%,54%,0%,39%) (0.55/0.54/0.00/0.39)
46 | 47 | 9B | |
---|---|---|---|
RGB | 70 | 71 | 155 |
HSL | 239° | 37.78% | 44.12% |
HSB/HSV | 239° | 54.84% | 60.78% |
CMYK | 54.84% | 54.19% | 0.00% |
39.22% |
HEX | 46 | 47 | 9B |
Decimal | 70 | 71 | 155 |
Binary | 1000110 | 1000111 | 10011011 |
Octal | 106 | 107 | 233 |
Examples of css and html codes for elements with #46479B color. Also use rgb(70,71,155) instead hex code.
.myTextColor { color: #46479B; }
<p style="color:#46479B">This sample text font color is #46479B.</p>
This text font color is #46479B.
.myBgColor { background-color: #46479B; }
<div style="background-color:#46479B">Inner text</div>
This div background color is #46479B.
.myBorderColor { border: 1px solid #46479B; }
<div style="border:3px solid #46479B">Div</div>
This div border color is #46479B.
.myOpacity80 { color: #46479B; opacity: 0.8; }
<p style="color:#46479B;opacity:0.8;">80%</p>
Text with #46479B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #46479B;}
<p style="text-shadow: 3px 3px 1px #46479B">Text here.</p>
This text has shadow with #46479B color.
.textShadow {text-shadow: 3px 3px 1px #46479B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #46479B, 5px 5px 20px red">Text here.</p>
This text has shadow with #46479B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#46479B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#46479B, Direction=45, Strength=4)">Text</p>
This text has shadow with #46479B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #46479B; -webkit-box-shadow: 1px 1px 3px 2px #46479B; box-shadow: 1px 1px 3px 2px #46479B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #46479B; -webkit-box-shadow: 1px 1px 3px 2px #46479B; box-shadow:1px 1px 3px 2px #46479B;">
Div content here</div>
This text has color #46479B on black background.
This text has color #46479B on white background.
This text has black color on #46479B background.
This text has white color on #46479B background.