COLOR #04001F

HEX: #04001F
RGB: (4,0,31)

Color info

#04001F contains only red and blue colors. Web safe color of #04001F is #000033 (or #003).

RGB color model

#04001F color RGB value is (4,0,31).

  • red value is 4;
  • green value is 0;
  • blue value is 31.
RGB:
(4,0,31)
(2%,0%,12%)

RGB channels and saturation

R 4 of 255 = 2%
G 0 of 255 = 0%
B 31 of 255 = 12%

4
0
31

R + G + B ~ 5%. #04001F is dark color.

Portions of RGB colors in percentages

R + G + B =
4 + 0 + 31 = 35 (100%)
R 4 of 35 ~ 11.43%
G 0 of 35 ~ 0%
B 31 of 35 ~ 88.57%

%11.43
%88.57

CMYK color model

#04001F color CMYK value is (87,100,0,88).

  • cyan value is 87.10%
  • magenta value is 100.00%
  • yellow value is 0.00%
  • key color value is 87.84%
CMYK:
(87,100,0,88)
C87M100Y0K88 
(87%,100%,0%,88%)
(0.87/1.00/0.00/0.88)	

CMYK percentages

%87.1
%100
%0
%87.84

Codes

Color #04001F in popluar color models

04001F
RGB4031
HSL248°100.00%6.08%
HSB/HSV248°100.00%12.16%
CMYK87.10%100.00%0.00%
87.84%

Color #04001F in popluar number systems.

HEX04001F
Decimal4031
Binary100011111
Octal4037

Shades and tints

Shades of #04001F

#04001F
(4,0,31)
#04001D
(4,0,29)
#04001B
(4,0,27)
#040019
(4,0,25)
#040017
(4,0,23)
#040015
(4,0,21)
#040013
(4,0,19)
#040011
(4,0,17)
#04000F
(4,0,15)
#04000D
(4,0,13)
#04000B
(4,0,11)
#000000
(0,0,0)

Tints of #04001F

#04001F
(4,0,31)
#1A1733
(26,23,51)
#302E47
(48,46,71)
#46455B
(70,69,91)
#5C5C6F
(92,92,111)
#727383
(114,115,131)
#888A97
(136,138,151)
#9EA1AB
(158,161,171)
#B4B8BF
(180,184,191)
#CACFD3
(202,207,211)
#E0E6E7
(224,230,231)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #04001F; }

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

This text font color is #04001F.


Background Color

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

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

This div background color is #04001F.


Border color

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

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

This div border color is #04001F.


Opacity

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

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

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

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

This text has shadow with #04001F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #04001F on black background.


Color preview on white background

This text has color #04001F on white background.



Black color preview on #04001F background

This text has black color on #04001F background.


White color preview on #04001F background

This text has white color on #04001F background.