COLOR #040D40

HEX: #040D40
RGB: (4,13,64)

Color info

#040D40 contains mainly green and blue colors. Web safe color of #040D40 is #000033 (or #003).

RGB color model

#040D40 color RGB value is (4,13,64).

  • red value is 4;
  • green value is 13;
  • blue value is 64.
RGB:
(4,13,64)
(2%,5%,25%)

RGB channels and saturation

R 4 of 255 = 2%
G 13 of 255 = 5%
B 64 of 255 = 25%

4
13
64

R + G + B ~ 11%. #040D40 is dark color.

Portions of RGB colors in percentages

R + G + B =
4 + 13 + 64 = 81 (100%)
R 4 of 81 ~ 4.94%
G 13 of 81 ~ 16.05%
B 64 of 81 ~ 79.01%

%16.05
%79.01

CMYK color model

#040D40 color CMYK value is (94,80,0,75).

  • cyan value is 93.75%
  • magenta value is 79.69%
  • yellow value is 0.00%
  • key color value is 74.90%
CMYK:
(94,80,0,75)
C94M80Y0K75 
(94%,80%,0%,75%)
(0.94/0.80/0.00/0.75)	

CMYK percentages

%93.75
%79.69
%0
%74.9

Codes

Color #040D40 in popluar color models

040D40
RGB41364
HSL231°88.24%13.33%
HSB/HSV231°93.75%25.10%
CMYK93.75%79.69%0.00%
74.90%

Color #040D40 in popluar number systems.

HEX040D40
Decimal41364
Binary10011011000000
Octal415100

Shades and tints

Shades of #040D40

#040D40
(4,13,64)
#040C3B
(4,12,59)
#040B36
(4,11,54)
#040A31
(4,10,49)
#04092C
(4,9,44)
#040827
(4,8,39)
#040722
(4,7,34)
#04061D
(4,6,29)
#040518
(4,5,24)
#040413
(4,4,19)
#04030E
(4,3,14)
#000000
(0,0,0)

Tints of #040D40

#040D40
(4,13,64)
#1A2351
(26,35,81)
#303962
(48,57,98)
#464F73
(70,79,115)
#5C6584
(92,101,132)
#727B95
(114,123,149)
#8891A6
(136,145,166)
#9EA7B7
(158,167,183)
#B4BDC8
(180,189,200)
#CAD3D9
(202,211,217)
#E0E9EA
(224,233,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #040D40 color. Also use rgb(4,13,64) instead hex code.

Text Font Color

.myTextColor { color: #040D40; }

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

This text font color is #040D40.


Background Color

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

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

This div background color is #040D40.


Border color

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

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

This div border color is #040D40.


Opacity

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

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

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

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

This text has shadow with #040D40 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #040D40 on black background.


Color preview on white background

This text has color #040D40 on white background.



Black color preview on #040D40 background

This text has black color on #040D40 background.


White color preview on #040D40 background

This text has white color on #040D40 background.