COLOR #040E4B

HEX: #040E4B
RGB: (4,14,75)

Color info

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

RGB color model

#040E4B color RGB value is (4,14,75).

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

RGB channels and saturation

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

4
14
75

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

Portions of RGB colors in percentages

R + G + B =
4 + 14 + 75 = 93 (100%)
R 4 of 93 ~ 4.3%
G 14 of 93 ~ 15.05%
B 75 of 93 ~ 80.65%

%15.05
%80.65

CMYK color model

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

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

CMYK percentages

%94.67
%81.33
%0
%70.59

Codes

Color #040E4B in popluar color models

040E4B
RGB41475
HSL232°89.87%15.49%
HSB/HSV232°94.67%29.41%
CMYK94.67%81.33%0.00%
70.59%

Color #040E4B in popluar number systems.

HEX040E4B
Decimal41475
Binary10011101001011
Octal416113

Shades and tints

Shades of #040E4B

#040E4B
(4,14,75)
#040D45
(4,13,69)
#040C3F
(4,12,63)
#040B39
(4,11,57)
#040A33
(4,10,51)
#04092D
(4,9,45)
#040827
(4,8,39)
#040721
(4,7,33)
#04061B
(4,6,27)
#040515
(4,5,21)
#04040F
(4,4,15)
#000000
(0,0,0)

Tints of #040E4B

#040E4B
(4,14,75)
#1A235B
(26,35,91)
#30386B
(48,56,107)
#464D7B
(70,77,123)
#5C628B
(92,98,139)
#72779B
(114,119,155)
#888CAB
(136,140,171)
#9EA1BB
(158,161,187)
#B4B6CB
(180,182,203)
#CACBDB
(202,203,219)
#E0E0EB
(224,224,235)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #040E4B; }

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

This text font color is #040E4B.


Background Color

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

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

This div background color is #040E4B.


Border color

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

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

This div border color is #040E4B.


Opacity

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

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

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

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

This text has shadow with #040E4B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #040E4B on black background.


Color preview on white background

This text has color #040E4B on white background.



Black color preview on #040E4B background

This text has black color on #040E4B background.


White color preview on #040E4B background

This text has white color on #040E4B background.