HEX: #04174D
RGB: (4,23,77)
#04174D contains mainly green and blue colors. Web safe color of #04174D is #000033 (or #003).
#04174D color RGB value is (4,23,77).
RGB: (4,23,77)
(2%, 9%, 30%)
R 4 of 255 = 2%
G 23 of 255 = 9%
B 77 of 255 = 30%
R + G + B ~ 14%. #04174D is dark color.
R + G + B = 4 + 23 + 77 = 104 (100%)
R 4 of 104 ~ 3.85%
G 23 of 104 ~ 22.12%
B 77 of 104 ~ 74.04'%
#04174D color CMYK value is (95,70,0,70).
CMYK: (95,70,0,70)
C95M70Y0K70 (95%, 70%, 0%, 70%)
(0.95 / 0.70 / 0.00 / 0.70)
Color #04174D in popluar color models
04 | 17 | 4D | |
---|---|---|---|
RGB | 4 | 23 | 77 |
HSL | 224° | 90.12% | 15.88% |
HSB/HSV | 224° | 94.81% | 30.20% |
CMYK | 94.81% | 70.13% | 0.00% |
69.80% |
Color #04174D in popluar number systems.
HEX | 04 | 17 | 4D |
Decimal | 4 | 23 | 77 |
Binary | 100 | 10111 | 1001101 |
Octal | 4 | 27 | 115 |
Shades of #04174D
Tints of #04174D
Examples of css and html codes for elements with #04174D color. Also use rgb(4,23,77) instead hex code.
.myTextColor { color: #04174D; }
<p style="color:#04174D">This sample text font color is #04174D.</p>
This text font color is #04174D.
.myBgColor { background-color: #04174D; }
<div style="background-color:#04174D">Inner text</div>
This div background color is #04174D.
.myBorderColor { border: 1px solid #04174D; }
<div style="border:3px solid #04174D">Div</div>
This div border color is #04174D.
.myOpacity80 { color: #04174D; opacity: 0.8; }
<p style="color:#04174D;opacity:0.8;">80%</p>
Text with #04174D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #04174D;}
<p style="text-shadow: 3px 3px 1px #04174D">Text here.</p>
This text has shadow with #04174D color.
.textShadow {text-shadow: 3px 3px 1px #04174D', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #04174D, 5px 5px 20px red">Text here.</p>
This text has shadow with #04174D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#04174D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#04174D, Direction=45, Strength=4)">Text</p>
This text has shadow with #04174D and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #04174D;
-webkit-box-shadow: 1px 1px 3px 2px #04174D;
box-shadow: 1px 1px 3px 2px #04174D;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #04174D; -webkit-box-shadow: 1px 1px 3px 2px #04174D; box-shadow:1px 1px 3px 2px #04174D;">
Div content here
</div>
This text has color #04174D on black background.
This text has color #04174D on white background.
This text has black color on #04174D background.
This text has white color on #04174D background.
Complementary color for #hex is #FBE8B2.