COLOR #040E70

HEX: #040E70 RGB: (4,14,112)

Color info

#040E70 contains mainly blue color. Web safe color of #040E70 is #000066 (or #006).

RGB color model

#040E70 color RGB value is (4,14,112).

RGB: (4,14,112) (2%, 5%, 44%)

RGB channels and saturation

R 4 of 255 = 2%
G 14 of 255 = 5%
B 112 of 255 = 44%

4
14
112

R + G + B ~ 17%. #040E70 is dark color.

Portions of RGB colors in percentages

R + G + B = 4 + 14 + 112 = 130 (100%)
R 4 of 130 ~ 3.08%
G 14 of 130 ~ 10.77%
B 112 of 130 ~ 86.15'%

%10.77
%86.15

CMYK color model

#040E70 color CMYK value is (96,88,0,56).

  • cyan value is 96.43%
  • magenta value is 87.50%
  • yellow value is 0.00%
  • key color value is 56.08%
CMYK: (96,88,0,56) C96M88Y0K56 (96%,88%,0%,56%) (0.96/0.88/0.00/0.56) 

CMYK percentages

%96.43
%87.5
%0
%56.08

Codes

Color #040E70 in popluar color models

04 0E 70
RGB 4 14 112
HSL 234° 93.10% 22.75%
HSB/HSV 234° 96.43% 43.92%
CMYK 96.43% 87.50% 0.00%
56.08%

Color #040E70 in popluar number systems.

HEX 04 0E 70
Decimal 4 14 112
Binary 100 1110 1110000
Octal 4 16 160

Shades and tints

Shades of #040E70

#040E70
(4,14,112)
#040D66
(4,13,102)
#040C5C
(4,12,92)
#040B52
(4,11,82)
#040A48
(4,10,72)
#04093E
(4,9,62)
#040834
(4,8,52)
#04072A
(4,7,42)
#040620
(4,6,32)
#040516
(4,5,22)
#04040C
(4,4,12)
#000000
(0,0,0)

Tints of #040E70

#040E70
(4,14,112)
#1A237D
(26,35,125)
#30388A
(48,56,138)
#464D97
(70,77,151)
#5C62A4
(92,98,164)
#7277B1
(114,119,177)
#888CBE
(136,140,190)
#9EA1CB
(158,161,203)
#B4B6D8
(180,182,216)
#CACBE5
(202,203,229)
#E0E0F2
(224,224,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #040E70 color. Also use rgb(4,14,112) instead hex code.

Text Font Color

.myTextColor { color: #040E70; }

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

This text font color is #040E70.

Background Color

.myBgColor { background-color: #040E70; }

<div style="background-color:#040E70">Inner text</div>

This div background color is #040E70.

Border color

.myBorderColor { border: 1px solid #040E70; }

<div style="border:3px solid #040E70">Div</div>

This div border color is #040E70.

Opacity

.myOpacity80 { color: #040E70; opacity: 0.8; }

<p style="color:#040E70;opacity:0.8;">80%</p>

Text with #040E70 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 #040E70;}

<p style="text-shadow: 3px 3px 1px #040E70">Text here.</p>

This text has shadow with #040E70 color.


.textShadow {text-shadow: 3px 3px 1px #040E70', 3px 3px 1px red;}

<p style="text-shadow: 3px 3px 1px #040E70, 5px 5px 20px red">Text here.</p>

This text has shadow with #040E70 primary color and red secondary color.


Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#040E70, Direction=45, Strength=4)}

<p style="filter: Shadow(Color=#040E70, Direction=45, Strength=4)">Text</p>

This text has shadow with #040E70 and red colors in old Internet Explorer.

Div box shadow color

/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #040E70;
-webkit-box-shadow: 1px 1px 3px 2px #040E70;
box-shadow: 1px 1px 3px 2px #040E70;
}

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #040E70; -webkit-box-shadow: 1px 1px 3px 2px #040E70; box-shadow:1px 1px 3px 2px #040E70;">
Div content here
</div>

This div box has shadow with color #040E70.

Preview

Color preview on black background

This text has color #040E70 on black background.


Color preview on white background

This text has color #040E70 on white background.


Black color preview on #040E70 background

This text has black color on #040E70 background.


White color preview on #040E70 background

This text has white color on #040E70 background.


Related colors

Complementary color

Complementary color for #hex is #FBF18F.


I love getcolorcode.com

Triadic colors

1 #70040E and #0E7004 with #040E70 are triadic colors.

2 #700E04 and #0E0470 with #040E70 are triadic colors.