COLOR #040606

HEX: #040606
RGB: (4,6,6)

Color info

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

RGB color model

#040606 color RGB value is (4,6,6).

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

RGB channels and saturation

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

4
6
6

R + G + B ~ 2%. #040606 is dark color.

Portions of RGB colors in percentages

R + G + B =
4 + 6 + 6 = 16 (100%)
R 4 of 16 ~ 25%
G 6 of 16 ~ 37.5%
B 6 of 16 ~ 37.5%

%25
%37.5
%37.5

CMYK color model

#040606 color CMYK value is (33,0,0,98).

  • cyan value is 33.33%
  • magenta value is 0.00%
  • yellow value is 0.00%
  • key color value is 97.65%
CMYK:
(33,0,0,98)
C33M0Y0K98 
(33%,0%,0%,98%)
(0.33/0.00/0.00/0.98)	

CMYK percentages

%33.33
%0
%0
%97.65

Codes

Color #040606 in popluar color models

040606
RGB466
HSL180°20.00%1.96%
HSB/HSV180°33.33%2.35%
CMYK33.33%0.00%0.00%
97.65%

Color #040606 in popluar number systems.

HEX040606
Decimal466
Binary100110110
Octal466

Shades and tints

Tints of #040606

#040606
(4,6,6)
#1A1C1C
(26,28,28)
#303232
(48,50,50)
#464848
(70,72,72)
#5C5E5E
(92,94,94)
#727474
(114,116,116)
#888A8A
(136,138,138)
#9EA0A0
(158,160,160)
#B4B6B6
(180,182,182)
#CACCCC
(202,204,204)
#E0E2E2
(224,226,226)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #040606; }

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

This text font color is #040606.


Background Color

.myBgColor { background-color: #040606; }

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

This div background color is #040606.


Border color

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

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

This div border color is #040606.


Opacity

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

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

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

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

This text has shadow with #040606 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #040606 on black background.


Color preview on white background

This text has color #040606 on white background.



Black color preview on #040606 background

This text has black color on #040606 background.


White color preview on #040606 background

This text has white color on #040606 background.