COLOR #04064E

HEX: #04064E RGB: (4,6,78)

Color info

#04064E contains mainly blue color. Web safe color of #04064E is #000066 (or #006).

RGB color model

#04064E color RGB value is (4,6,78).

RGB: (4,6,78) (2%, 2%, 31%)

RGB channels and saturation

R 4 of 255 = 2%
G 6 of 255 = 2%
B 78 of 255 = 31%

4
6
78

R + G + B ~ 12%. #04064E is dark color.

Portions of RGB colors in percentages

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'%

%88.64

CMYK color model

#04064E color CMYK value is (95,92,0,69).

  • cyan value is 94.87%
  • magenta value is 92.31%
  • yellow value is 0.00%
  • key color value is 69.41%
CMYK: (95,92,0,69) C95M92Y0K69 (95%,92%,0%,69%) (0.95/0.92/0.00/0.69) 

CMYK percentages

%94.87
%92.31
%0
%69.41

Codes

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 and tints

Shades of #04064E

#04064E
(4,6,78)
#040647
(4,6,71)
#040640
(4,6,64)
#040639
(4,6,57)
#040632
(4,6,50)
#04062B
(4,6,43)
#040624
(4,6,36)
#04061D
(4,6,29)
#040616
(4,6,22)
#04060F
(4,6,15)
#040608
(4,6,8)
#000000
(0,0,0)

Tints of #04064E

#04064E
(4,6,78)
#1A1C5E
(26,28,94)
#30326E
(48,50,110)
#46487E
(70,72,126)
#5C5E8E
(92,94,142)
#72749E
(114,116,158)
#888AAE
(136,138,174)
#9EA0BE
(158,160,190)
#B4B6CE
(180,182,206)
#CACCDE
(202,204,222)
#E0E2EE
(224,226,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #04064E color. Also use rgb(4,6,78) instead hex code.

Text Font Color

.myTextColor { color: #04064E; }

<p style="color:#04064E">This sample text font color is #04064E.</p>

This text font color is #04064E.

Background Color

.myBgColor { background-color: #04064E; }

<div style="background-color:#04064E">Inner text</div>

This div background color is #04064E.

Border color

.myBorderColor { border: 1px solid #04064E; }

<div style="border:3px solid #04064E">Div</div>

This div border color is #04064E.

Opacity

.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%.

Background with opacity value 100%.
Background with opacity value 80%.
Background with opacity value 50%.
Background with opacity value 30%.

Text shadow color

.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.

Div box shadow color

/* 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 div box has shadow with color #04064E.

Preview

Color preview on black background

This text has color #04064E on black background.


Color preview on white background

This text has color #04064E on white background.


Black color preview on #04064E background

This text has black color on #04064E background.


White color preview on #04064E background

This text has white color on #04064E background.


Related colors

Complementary color

Complementary color for #hex is #FBF9B1.


I love getcolorcode.com

Triadic colors

1 #4E0406 and #064E04 with #04064E are triadic colors.

2 #4E0604 and #06044E with #04064E are triadic colors.