HEX: #04064D
RGB: (4,6,77)
#04064D contains mainly blue color. Web safe color of #04064D is #000033 (or #003).
#04064D color RGB value is (4,6,77).
RGB: (4,6,77) (2%,2%,30%)
R 4 of 255 = 2%
G 6 of 255 = 2%
B 77 of 255 = 30%
R + G + B ~ 11%. #04064D is dark color.
R + G + B =
4 + 6 + 77 = 87 (100%)
R 4 of 87 ~ 4.6%
G 6 of 87 ~ 6.9%
B 77 of 87 ~ 88.51%
#04064D color CMYK value is (95,92,0,70).
CMYK: (95,92,0,70) C95M92Y0K70 (95%,92%,0%,70%) (0.95/0.92/0.00/0.70)
04 | 06 | 4D | |
---|---|---|---|
RGB | 4 | 6 | 77 |
HSL | 238° | 90.12% | 15.88% |
HSB/HSV | 238° | 94.81% | 30.20% |
CMYK | 94.81% | 92.21% | 0.00% |
69.80% |
HEX | 04 | 06 | 4D |
Decimal | 4 | 6 | 77 |
Binary | 100 | 110 | 1001101 |
Octal | 4 | 6 | 115 |
Examples of css and html codes for elements with #04064D color. Also use rgb(4,6,77) instead hex code.
.myTextColor { color: #04064D; }
<p style="color:#04064D">This sample text font color is #04064D.</p>
This text font color is #04064D.
.myBgColor { background-color: #04064D; }
<div style="background-color:#04064D">Inner text</div>
This div background color is #04064D.
.myBorderColor { border: 1px solid #04064D; }
<div style="border:3px solid #04064D">Div</div>
This div border color is #04064D.
.myOpacity80 { color: #04064D; opacity: 0.8; }
<p style="color:#04064D;opacity:0.8;">80%</p>
Text with #04064D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #04064D;}
<p style="text-shadow: 3px 3px 1px #04064D">Text here.</p>
This text has shadow with #04064D color.
.textShadow {text-shadow: 3px 3px 1px #04064D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #04064D, 5px 5px 20px red">Text here.</p>
This text has shadow with #04064D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#04064D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#04064D, Direction=45, Strength=4)">Text</p>
This text has shadow with #04064D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #04064D; -webkit-box-shadow: 1px 1px 3px 2px #04064D; box-shadow: 1px 1px 3px 2px #04064D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #04064D; -webkit-box-shadow: 1px 1px 3px 2px #04064D; box-shadow:1px 1px 3px 2px #04064D;">
Div content here</div>
This text has color #04064D on black background.
This text has color #04064D on white background.
This text has black color on #04064D background.
This text has white color on #04064D background.