HEX: #04064E
RGB: (4,6,78)
#04064E contains mainly blue color. Web safe color of #04064E is #000066 (or #006).
#04064E color RGB value is (4,6,78).
RGB: (4,6,78)
(2%, 2%, 31%)
R 4 of 255 = 2%
G 6 of 255 = 2%
B 78 of 255 = 31%
R + G + B ~ 12%. #04064E is dark color.
R + G + B = 4 + 6 + 78 = 88 (100%)
R 4 of 88 ~ 4.55%
G 6 of 88 ~ 6.82%
B 78 of 88 ~ 88.64'%
#04064E color CMYK value is (95,92,0,69).
CMYK: (95,92,0,69) C95M92Y0K69 (95%,92%,0%,69%) (0.95/0.92/0.00/0.69)
Color #04064E in popluar color models
04 | 06 | 4E | |
---|---|---|---|
RGB | 4 | 6 | 78 |
HSL | 238° | 90.24% | 16.08% |
HSB/HSV | 238° | 94.87% | 30.59% |
CMYK | 94.87% | 92.31% | 0.00% |
69.41% |
Color #04064E in popluar number systems.
HEX | 04 | 06 | 4E |
Decimal | 4 | 6 | 78 |
Binary | 100 | 110 | 1001110 |
Octal | 4 | 6 | 116 |
Shades of #04064E
Tints of #04064E
Examples of css and html codes for elements with #04064E color. Also use rgb(4,6,78) instead hex code.
.myTextColor { color: #04064E; }
<p style="color:#04064E">This sample text font color is #04064E.</p>
This text font color is #04064E.
.myBgColor { background-color: #04064E; }
<div style="background-color:#04064E">Inner text</div>
This div background color is #04064E.
.myBorderColor { border: 1px solid #04064E; }
<div style="border:3px solid #04064E">Div</div>
This div border color is #04064E.
.myOpacity80 { color: #04064E; opacity: 0.8; }
<p style="color:#04064E;opacity:0.8;">80%</p>
Text with #04064E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #04064E;}
<p style="text-shadow: 3px 3px 1px #04064E">Text here.</p>
This text has shadow with #04064E color.
.textShadow {text-shadow: 3px 3px 1px #04064E', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #04064E, 5px 5px 20px red">Text here.</p>
This text has shadow with #04064E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#04064E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#04064E, Direction=45, Strength=4)">Text</p>
This text has shadow with #04064E and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #04064E;
-webkit-box-shadow: 1px 1px 3px 2px #04064E;
box-shadow: 1px 1px 3px 2px #04064E;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #04064E; -webkit-box-shadow: 1px 1px 3px 2px #04064E; box-shadow:1px 1px 3px 2px #04064E;">
Div content here
</div>
This text has color #04064E on black background.
This text has color #04064E on white background.
This text has black color on #04064E background.
This text has white color on #04064E background.
Complementary color for #hex is #FBF9B1.