COLOR #04070C

HEX: #04070C
RGB: (4,7,12)

Color info

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

RGB color model

#04070C color RGB value is (4,7,12).

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

RGB channels and saturation

R 4 of 255 = 2%
G 7 of 255 = 3%
B 12 of 255 = 5%

4
7
12

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

Portions of RGB colors in percentages

R + G + B =
4 + 7 + 12 = 23 (100%)
R 4 of 23 ~ 17.39%
G 7 of 23 ~ 30.43%
B 12 of 23 ~ 52.17%

%17.39
%30.43
%52.17

CMYK color model

#04070C color CMYK value is (67,42,0,95).

  • cyan value is 66.67%
  • magenta value is 41.67%
  • yellow value is 0.00%
  • key color value is 95.29%
CMYK:
(67,42,0,95)
C67M42Y0K95 
(67%,42%,0%,95%)
(0.67/0.42/0.00/0.95)	

CMYK percentages

%66.67
%41.67
%0
%95.29

Codes

Color #04070C in popluar color models

04070C
RGB4712
HSL218°50.00%3.14%
HSB/HSV218°66.67%4.71%
CMYK66.67%41.67%0.00%
95.29%

Color #04070C in popluar number systems.

HEX04070C
Decimal4712
Binary1001111100
Octal4714

Shades and tints

Shades of #04070C

#04070C
(4,7,12)
#04070B
(4,7,11)
#04070A
(4,7,10)
#040709
(4,7,9)
#040708
(4,7,8)
#040707
(4,7,7)
#040706
(4,7,6)
#040705
(4,7,5)
#040704
(4,7,4)
#040703
(4,7,3)
#040702
(4,7,2)
#000000
(0,0,0)

Tints of #04070C

#04070C
(4,7,12)
#1A1D22
(26,29,34)
#303338
(48,51,56)
#46494E
(70,73,78)
#5C5F64
(92,95,100)
#72757A
(114,117,122)
#888B90
(136,139,144)
#9EA1A6
(158,161,166)
#B4B7BC
(180,183,188)
#CACDD2
(202,205,210)
#E0E3E8
(224,227,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #04070C; }

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

This text font color is #04070C.


Background Color

.myBgColor { background-color: #04070C; }

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

This div background color is #04070C.


Border color

.myBorderColor { border: 1px solid #04070C; }

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

This div border color is #04070C.


Opacity

.myOpacity80 { color: #04070C; opacity: 0.8; }

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

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

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

This text has shadow with #04070C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #04070C on black background.


Color preview on white background

This text has color #04070C on white background.



Black color preview on #04070C background

This text has black color on #04070C background.


White color preview on #04070C background

This text has white color on #04070C background.