COLOR #040D2E

HEX: #040D2E
RGB: (4,13,46)

Color info

#040D2E contains red, green and blue colors in about the same proportion. Web safe color of #040D2E is #000033 (or #003).

RGB color model

#040D2E color RGB value is (4,13,46).

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

RGB channels and saturation

R 4 of 255 = 2%
G 13 of 255 = 5%
B 46 of 255 = 18%

4
13
46

R + G + B ~ 8%. #040D2E is dark color.

Portions of RGB colors in percentages

R + G + B =
4 + 13 + 46 = 63 (100%)
R 4 of 63 ~ 6.35%
G 13 of 63 ~ 20.63%
B 46 of 63 ~ 73.02%

%20.63
%73.02

CMYK color model

#040D2E color CMYK value is (91,72,0,82).

  • cyan value is 91.30%
  • magenta value is 71.74%
  • yellow value is 0.00%
  • key color value is 81.96%
CMYK:
(91,72,0,82)
C91M72Y0K82 
(91%,72%,0%,82%)
(0.91/0.72/0.00/0.82)	

CMYK percentages

%91.3
%71.74
%0
%81.96

Codes

Color #040D2E in popluar color models

040D2E
RGB41346
HSL227°84.00%9.80%
HSB/HSV227°91.30%18.04%
CMYK91.30%71.74%0.00%
81.96%

Color #040D2E in popluar number systems.

HEX040D2E
Decimal41346
Binary1001101101110
Octal41556

Shades and tints

Shades of #040D2E

#040D2E
(4,13,46)
#040C2A
(4,12,42)
#040B26
(4,11,38)
#040A22
(4,10,34)
#04091E
(4,9,30)
#04081A
(4,8,26)
#040716
(4,7,22)
#040612
(4,6,18)
#04050E
(4,5,14)
#04040A
(4,4,10)
#040306
(4,3,6)
#000000
(0,0,0)

Tints of #040D2E

#040D2E
(4,13,46)
#1A2341
(26,35,65)
#303954
(48,57,84)
#464F67
(70,79,103)
#5C657A
(92,101,122)
#727B8D
(114,123,141)
#8891A0
(136,145,160)
#9EA7B3
(158,167,179)
#B4BDC6
(180,189,198)
#CAD3D9
(202,211,217)
#E0E9EC
(224,233,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #040D2E; }

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

This text font color is #040D2E.


Background Color

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

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

This div background color is #040D2E.


Border color

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

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

This div border color is #040D2E.


Opacity

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

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

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

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

This text has shadow with #040D2E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #040D2E on black background.


Color preview on white background

This text has color #040D2E on white background.



Black color preview on #040D2E background

This text has black color on #040D2E background.


White color preview on #040D2E background

This text has white color on #040D2E background.