COLOR #04061F

HEX: #04061F
RGB: (4,6,31)

Color info

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

RGB color model

#04061F color RGB value is (4,6,31).

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

RGB channels and saturation

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

4
6
31

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

Portions of RGB colors in percentages

R + G + B =
4 + 6 + 31 = 41 (100%)
R 4 of 41 ~ 9.76%
G 6 of 41 ~ 14.63%
B 31 of 41 ~ 75.61%

%9.76
%14.63
%75.61

CMYK color model

#04061F color CMYK value is (87,81,0,88).

  • cyan value is 87.10%
  • magenta value is 80.65%
  • yellow value is 0.00%
  • key color value is 87.84%
CMYK:
(87,81,0,88)
C87M81Y0K88 
(87%,81%,0%,88%)
(0.87/0.81/0.00/0.88)	

CMYK percentages

%87.1
%80.65
%0
%87.84

Codes

Color #04061F in popluar color models

04061F
RGB4631
HSL236°77.14%6.86%
HSB/HSV236°87.10%12.16%
CMYK87.10%80.65%0.00%
87.84%

Color #04061F in popluar number systems.

HEX04061F
Decimal4631
Binary10011011111
Octal4637

Shades and tints

Shades of #04061F

#04061F
(4,6,31)
#04061D
(4,6,29)
#04061B
(4,6,27)
#040619
(4,6,25)
#040617
(4,6,23)
#040615
(4,6,21)
#040613
(4,6,19)
#040611
(4,6,17)
#04060F
(4,6,15)
#04060D
(4,6,13)
#04060B
(4,6,11)
#000000
(0,0,0)

Tints of #04061F

#04061F
(4,6,31)
#1A1C33
(26,28,51)
#303247
(48,50,71)
#46485B
(70,72,91)
#5C5E6F
(92,94,111)
#727483
(114,116,131)
#888A97
(136,138,151)
#9EA0AB
(158,160,171)
#B4B6BF
(180,182,191)
#CACCD3
(202,204,211)
#E0E2E7
(224,226,231)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #04061F; }

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

This text font color is #04061F.


Background Color

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

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

This div background color is #04061F.


Border color

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

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

This div border color is #04061F.


Opacity

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

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

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

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

This text has shadow with #04061F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #04061F on black background.


Color preview on white background

This text has color #04061F on white background.



Black color preview on #04061F background

This text has black color on #04061F background.


White color preview on #04061F background

This text has white color on #04061F background.