COLOR #040612

HEX: #040612
RGB: (4,6,18)

Color info

#040612 contains red, green and blue colors in about the same proportion. Web safe color of #040612 is #000000 (or #000).

RGB color model

#040612 color RGB value is (4,6,18).

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

RGB channels and saturation

R 4 of 255 = 2%
G 6 of 255 = 2%
B 18 of 255 = 7%

4
6
18

R + G + B ~ 4%. #040612 is dark color.

Portions of RGB colors in percentages

R + G + B =
4 + 6 + 18 = 28 (100%)
R 4 of 28 ~ 14.29%
G 6 of 28 ~ 21.43%
B 18 of 28 ~ 64.29%

%14.29
%21.43
%64.29

CMYK color model

#040612 color CMYK value is (78,67,0,93).

  • cyan value is 77.78%
  • magenta value is 66.67%
  • yellow value is 0.00%
  • key color value is 92.94%
CMYK:
(78,67,0,93)
C78M67Y0K93 
(78%,67%,0%,93%)
(0.78/0.67/0.00/0.93)	

CMYK percentages

%77.78
%66.67
%0
%92.94

Codes

Color #040612 in popluar color models

040612
RGB4618
HSL231°63.64%4.31%
HSB/HSV231°77.78%7.06%
CMYK77.78%66.67%0.00%
92.94%

Color #040612 in popluar number systems.

HEX040612
Decimal4618
Binary10011010010
Octal4622

Shades and tints

Shades of #040612

#040612
(4,6,18)
#040611
(4,6,17)
#040610
(4,6,16)
#04060F
(4,6,15)
#04060E
(4,6,14)
#04060D
(4,6,13)
#04060C
(4,6,12)
#04060B
(4,6,11)
#04060A
(4,6,10)
#040609
(4,6,9)
#040608
(4,6,8)
#000000
(0,0,0)

Tints of #040612

#040612
(4,6,18)
#1A1C27
(26,28,39)
#30323C
(48,50,60)
#464851
(70,72,81)
#5C5E66
(92,94,102)
#72747B
(114,116,123)
#888A90
(136,138,144)
#9EA0A5
(158,160,165)
#B4B6BA
(180,182,186)
#CACCCF
(202,204,207)
#E0E2E4
(224,226,228)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #040612; }

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

This text font color is #040612.


Background Color

.myBgColor { background-color: #040612; }

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

This div background color is #040612.


Border color

.myBorderColor { border: 1px solid #040612; }

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

This div border color is #040612.


Opacity

.myOpacity80 { color: #040612; opacity: 0.8; }

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

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

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

This text has shadow with #040612 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #040612 on black background.


Color preview on white background

This text has color #040612 on white background.



Black color preview on #040612 background

This text has black color on #040612 background.


White color preview on #040612 background

This text has white color on #040612 background.