COLOR #040907

HEX: #040907
RGB: (4,9,7)

Color info

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

RGB color model

#040907 color RGB value is (4,9,7).

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

RGB channels and saturation

R 4 of 255 = 2%
G 9 of 255 = 4%
B 7 of 255 = 3%

4
9
7

R + G + B ~ 3%. #040907 is dark color.

Portions of RGB colors in percentages

R + G + B =
4 + 9 + 7 = 20 (100%)
R 4 of 20 ~ 20%
G 9 of 20 ~ 45%
B 7 of 20 ~ 35%

%20
%45
%35

CMYK color model

#040907 color CMYK value is (56,0,22,96).

  • cyan value is 55.56%
  • magenta value is 0.00%
  • yellow value is 22.22%
  • key color value is 96.47%
CMYK:
(56,0,22,96)
C56M0Y22K96 
(56%,0%,22%,96%)
(0.56/0.00/0.22/0.96)	

CMYK percentages

%55.56
%0
%22.22
%96.47

Codes

Color #040907 in popluar color models

040907
RGB497
HSL156°38.46%2.55%
HSB/HSV156°55.56%3.53%
CMYK55.56%0.00%22.22%
96.47%

Color #040907 in popluar number systems.

HEX040907
Decimal497
Binary1001001111
Octal4117

Shades and tints

Tints of #040907

#040907
(4,9,7)
#1A1F1D
(26,31,29)
#303533
(48,53,51)
#464B49
(70,75,73)
#5C615F
(92,97,95)
#727775
(114,119,117)
#888D8B
(136,141,139)
#9EA3A1
(158,163,161)
#B4B9B7
(180,185,183)
#CACFCD
(202,207,205)
#E0E5E3
(224,229,227)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #040907; }

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

This text font color is #040907.


Background Color

.myBgColor { background-color: #040907; }

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

This div background color is #040907.


Border color

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

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

This div border color is #040907.


Opacity

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

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

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

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

This text has shadow with #040907 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #040907 on black background.


Color preview on white background

This text has color #040907 on white background.



Black color preview on #040907 background

This text has black color on #040907 background.


White color preview on #040907 background

This text has white color on #040907 background.