COLOR #04072F

HEX: #04072F
RGB: (4,7,47)

Color info

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

RGB color model

#04072F color RGB value is (4,7,47).

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

RGB channels and saturation

R 4 of 255 = 2%
G 7 of 255 = 3%
B 47 of 255 = 18%

4
7
47

R + G + B ~ 8%. #04072F is dark color.

Portions of RGB colors in percentages

R + G + B =
4 + 7 + 47 = 58 (100%)
R 4 of 58 ~ 6.9%
G 7 of 58 ~ 12.07%
B 47 of 58 ~ 81.03%

%12.07
%81.03

CMYK color model

#04072F color CMYK value is (91,85,0,82).

  • cyan value is 91.49%
  • magenta value is 85.11%
  • yellow value is 0.00%
  • key color value is 81.57%
CMYK:
(91,85,0,82)
C91M85Y0K82 
(91%,85%,0%,82%)
(0.91/0.85/0.00/0.82)	

CMYK percentages

%91.49
%85.11
%0
%81.57

Codes

Color #04072F in popluar color models

04072F
RGB4747
HSL236°84.31%10.00%
HSB/HSV236°91.49%18.43%
CMYK91.49%85.11%0.00%
81.57%

Color #04072F in popluar number systems.

HEX04072F
Decimal4747
Binary100111101111
Octal4757

Shades and tints

Shades of #04072F

#04072F
(4,7,47)
#04072B
(4,7,43)
#040727
(4,7,39)
#040723
(4,7,35)
#04071F
(4,7,31)
#04071B
(4,7,27)
#040717
(4,7,23)
#040713
(4,7,19)
#04070F
(4,7,15)
#04070B
(4,7,11)
#040707
(4,7,7)
#000000
(0,0,0)

Tints of #04072F

#04072F
(4,7,47)
#1A1D41
(26,29,65)
#303353
(48,51,83)
#464965
(70,73,101)
#5C5F77
(92,95,119)
#727589
(114,117,137)
#888B9B
(136,139,155)
#9EA1AD
(158,161,173)
#B4B7BF
(180,183,191)
#CACDD1
(202,205,209)
#E0E3E3
(224,227,227)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #04072F; }

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

This text font color is #04072F.


Background Color

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

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

This div background color is #04072F.


Border color

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

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

This div border color is #04072F.


Opacity

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

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

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

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

This text has shadow with #04072F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #04072F on black background.


Color preview on white background

This text has color #04072F on white background.



Black color preview on #04072F background

This text has black color on #04072F background.


White color preview on #04072F background

This text has white color on #04072F background.