COLOR #040E4A

HEX: #040E4A
RGB: (4,14,74)

Color info

#040E4A contains mainly blue color. Web safe color of #040E4A is #000033 (or #003).

RGB color model

#040E4A color RGB value is (4,14,74).

  • red value is 4;
  • green value is 14;
  • blue value is 74.
RGB:
(4,14,74)
(2%,5%,29%)

RGB channels and saturation

R 4 of 255 = 2%
G 14 of 255 = 5%
B 74 of 255 = 29%

4
14
74

R + G + B ~ 12%. #040E4A is dark color.

Portions of RGB colors in percentages

R + G + B =
4 + 14 + 74 = 92 (100%)
R 4 of 92 ~ 4.35%
G 14 of 92 ~ 15.22%
B 74 of 92 ~ 80.43%

%15.22
%80.43

CMYK color model

#040E4A color CMYK value is (95,81,0,71).

  • cyan value is 94.59%
  • magenta value is 81.08%
  • yellow value is 0.00%
  • key color value is 70.98%
CMYK:
(95,81,0,71)
C95M81Y0K71 
(95%,81%,0%,71%)
(0.95/0.81/0.00/0.71)	

CMYK percentages

%94.59
%81.08
%0
%70.98

Codes

Color #040E4A in popluar color models

040E4A
RGB41474
HSL231°89.74%15.29%
HSB/HSV231°94.59%29.02%
CMYK94.59%81.08%0.00%
70.98%

Color #040E4A in popluar number systems.

HEX040E4A
Decimal41474
Binary10011101001010
Octal416112

Shades and tints

Shades of #040E4A

#040E4A
(4,14,74)
#040D44
(4,13,68)
#040C3E
(4,12,62)
#040B38
(4,11,56)
#040A32
(4,10,50)
#04092C
(4,9,44)
#040826
(4,8,38)
#040720
(4,7,32)
#04061A
(4,6,26)
#040514
(4,5,20)
#04040E
(4,4,14)
#000000
(0,0,0)

Tints of #040E4A

#040E4A
(4,14,74)
#1A235A
(26,35,90)
#30386A
(48,56,106)
#464D7A
(70,77,122)
#5C628A
(92,98,138)
#72779A
(114,119,154)
#888CAA
(136,140,170)
#9EA1BA
(158,161,186)
#B4B6CA
(180,182,202)
#CACBDA
(202,203,218)
#E0E0EA
(224,224,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #040E4A; }

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

This text font color is #040E4A.


Background Color

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

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

This div background color is #040E4A.


Border color

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

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

This div border color is #040E4A.


Opacity

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

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

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

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

This text has shadow with #040E4A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #040E4A on black background.


Color preview on white background

This text has color #040E4A on white background.



Black color preview on #040E4A background

This text has black color on #040E4A background.


White color preview on #040E4A background

This text has white color on #040E4A background.