HEX: #04246B
RGB: (4,36,107)
#04246B contains mainly blue color. Web safe color of #04246B is #003366 (or #036).
#04246B color RGB value is (4,36,107).
RGB: (4,36,107)
(2%, 14%, 42%)
R 4 of 255 = 2%
G 36 of 255 = 14%
B 107 of 255 = 42%
R + G + B ~ 19%. #04246B is dark color.
R + G + B = 4 + 36 + 107 = 147 (100%)
R 4 of 147 ~ 2.72%
G 36 of 147 ~ 24.49%
B 107 of 147 ~ 72.79'%
#04246B color CMYK value is (96,66,0,58).
CMYK: (96,66,0,58)
C96M66Y0K58 (96%, 66%, 0%, 58%)
(0.96 / 0.66 / 0.00 / 0.58)
Color #04246B in popluar color models
04 | 24 | 6B | |
---|---|---|---|
RGB | 4 | 36 | 107 |
HSL | 221° | 92.79% | 21.76% |
HSB/HSV | 221° | 96.26% | 41.96% |
CMYK | 96.26% | 66.36% | 0.00% |
58.04% |
Color #04246B in popluar number systems.
HEX | 04 | 24 | 6B |
Decimal | 4 | 36 | 107 |
Binary | 100 | 100100 | 1101011 |
Octal | 4 | 44 | 153 |
Shades of #04246B
Tints of #04246B
Examples of css and html codes for elements with #04246B color. Also use rgb(4,36,107) instead hex code.
.myTextColor { color: #04246B; }
<p style="color:#04246B">This sample text font color is #04246B.</p>
This text font color is #04246B.
.myBgColor { background-color: #04246B; }
<div style="background-color:#04246B">Inner text</div>
This div background color is #04246B.
.myBorderColor { border: 1px solid #04246B; }
<div style="border:3px solid #04246B">Div</div>
This div border color is #04246B.
.myOpacity80 { color: #04246B; opacity: 0.8; }
<p style="color:#04246B;opacity:0.8;">80%</p>
Text with #04246B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #04246B;}
<p style="text-shadow: 3px 3px 1px #04246B">Text here.</p>
This text has shadow with #04246B color.
.textShadow {text-shadow: 3px 3px 1px #04246B', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #04246B, 5px 5px 20px red">Text here.</p>
This text has shadow with #04246B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#04246B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#04246B, Direction=45, Strength=4)">Text</p>
This text has shadow with #04246B and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #04246B;
-webkit-box-shadow: 1px 1px 3px 2px #04246B;
box-shadow: 1px 1px 3px 2px #04246B;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #04246B; -webkit-box-shadow: 1px 1px 3px 2px #04246B; box-shadow:1px 1px 3px 2px #04246B;">
Div content here
</div>
This text has color #04246B on black background.
This text has color #04246B on white background.
This text has black color on #04246B background.
This text has white color on #04246B background.
Complementary color for #hex is #FBDB94.