COLOR #04071F

HEX: #04071F RGB: (4,7,31)

Color info

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

RGB color model

#04071F color RGB value is (4,7,31).

RGB: (4,7,31) (2%, 3%, 12%)

RGB channels and saturation

R 4 of 255 = 2%
G 7 of 255 = 3%
B 31 of 255 = 12%

4
7
31

R + G + B ~ 6%. #04071F is dark color.

Portions of RGB colors in percentages

R + G + B = 4 + 7 + 31 = 42 (100%)
R 4 of 42 ~ 9.52%
G 7 of 42 ~ 16.67%
B 31 of 42 ~ 73.81'%

%16.67
%73.81

CMYK color model

#04071F color CMYK value is (87,77,0,88).

  • cyan value is 87.10%
  • magenta value is 77.42%
  • yellow value is 0.00%
  • key color value is 87.84%

CMYK: (87,77,0,88)
C87M77Y0K88 (87%, 77%, 0%, 88%)
(0.87 / 0.77 / 0.00 / 0.88)

CMYK percentages

%87.1
%77.42
%0
%87.84

Codes

Color #04071F in popluar color models

04 07 1F
RGB 4 7 31
HSL 233° 77.14% 6.86%
HSB/HSV 233° 87.10% 12.16%
CMYK 87.10% 77.42% 0.00%
87.84%

Color #04071F in popluar number systems.

HEX 04 07 1F
Decimal 4 7 31
Binary 100 111 11111
Octal 4 7 37

Shades and tints

Shades of #04071F

#04071F
(4,7,31)
#04071D
(4,7,29)
#04071B
(4,7,27)
#040719
(4,7,25)
#040717
(4,7,23)
#040715
(4,7,21)
#040713
(4,7,19)
#040711
(4,7,17)
#04070F
(4,7,15)
#04070D
(4,7,13)
#04070B
(4,7,11)
#000000
(0,0,0)

Tints of #04071F

#04071F
(4,7,31)
#1A1D33
(26,29,51)
#303347
(48,51,71)
#46495B
(70,73,91)
#5C5F6F
(92,95,111)
#727583
(114,117,131)
#888B97
(136,139,151)
#9EA1AB
(158,161,171)
#B4B7BF
(180,183,191)
#CACDD3
(202,205,211)
#E0E3E7
(224,227,231)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #04071F color. Also use rgb(4,7,31) instead hex code.

Text Font Color

.myTextColor { color: #04071F; }

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

This text font color is #04071F.

Background Color

.myBgColor { background-color: #04071F; }

<div style="background-color:#04071F">Inner text</div>

This div background color is #04071F.

Border color

.myBorderColor { border: 1px solid #04071F; }

<div style="border:3px solid #04071F">Div</div>

This div border color is #04071F.

Opacity

.myOpacity80 { color: #04071F; opacity: 0.8; }

<p style="color:#04071F;opacity:0.8;">80%</p>

Text with #04071F 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 #04071F;}

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

This text has shadow with #04071F color.


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

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

This text has shadow with #04071F primary color and red secondary color.


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

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

This text has shadow with #04071F and red colors in old Internet Explorer.

Div box shadow color

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

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

This div box has shadow with color #04071F.

Preview

Color preview on black background

This text has color #04071F on black background.


Color preview on white background

This text has color #04071F on white background.


Black color preview on #04071F background

This text has black color on #04071F background.


White color preview on #04071F background

This text has white color on #04071F background.


Related colors

Complementary color

Complementary color for #hex is #FBF8E0.


I love getcolorcode.com

Triadic colors

1 #1F0407 and #071F04 with #04071F are triadic colors.

2 #1F0704 and #07041F with #04071F are triadic colors.