COLOR #04072B

HEX: #04072B RGB: (4,7,43)

Color info

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

RGB color model

#04072B color RGB value is (4,7,43).

RGB: (4,7,43) (2%, 3%, 17%)

RGB channels and saturation

R 4 of 255 = 2%
G 7 of 255 = 3%
B 43 of 255 = 17%

4
7
43

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

Portions of RGB colors in percentages

R + G + B = 4 + 7 + 43 = 54 (100%)
R 4 of 54 ~ 7.41%
G 7 of 54 ~ 12.96%
B 43 of 54 ~ 79.63'%

%12.96
%79.63

CMYK color model

#04072B color CMYK value is (91,84,0,83).

  • cyan value is 90.70%
  • magenta value is 83.72%
  • yellow value is 0.00%
  • key color value is 83.14%

CMYK: (91,84,0,83)
C91M84Y0K83 (91%, 84%, 0%, 83%)
(0.91 / 0.84 / 0.00 / 0.83)

CMYK percentages

%90.7
%83.72
%0
%83.14

Codes

Color #04072B in popluar color models

04 07 2B
RGB 4 7 43
HSL 235° 82.98% 9.22%
HSB/HSV 235° 90.70% 16.86%
CMYK 90.70% 83.72% 0.00%
83.14%

Color #04072B in popluar number systems.

HEX 04 07 2B
Decimal 4 7 43
Binary 100 111 101011
Octal 4 7 53

Shades and tints

Shades of #04072B

#04072B
(4,7,43)
#040728
(4,7,40)
#040725
(4,7,37)
#040722
(4,7,34)
#04071F
(4,7,31)
#04071C
(4,7,28)
#040719
(4,7,25)
#040716
(4,7,22)
#040713
(4,7,19)
#040710
(4,7,16)
#04070D
(4,7,13)
#000000
(0,0,0)

Tints of #04072B

#04072B
(4,7,43)
#1A1D3E
(26,29,62)
#303351
(48,51,81)
#464964
(70,73,100)
#5C5F77
(92,95,119)
#72758A
(114,117,138)
#888B9D
(136,139,157)
#9EA1B0
(158,161,176)
#B4B7C3
(180,183,195)
#CACDD6
(202,205,214)
#E0E3E9
(224,227,233)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #04072B; }

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

This text font color is #04072B.

Background Color

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

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

This div background color is #04072B.

Border color

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

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

This div border color is #04072B.

Opacity

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

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

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

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

This text has shadow with #04072B color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #04072B.

Preview

Color preview on black background

This text has color #04072B on black background.


Color preview on white background

This text has color #04072B on white background.


Black color preview on #04072B background

This text has black color on #04072B background.


White color preview on #04072B background

This text has white color on #04072B background.


Related colors

Complementary color

Complementary color for #hex is #FBF8D4.


I love getcolorcode.com

Triadic colors

1 #2B0407 and #072B04 with #04072B are triadic colors.

2 #2B0704 and #07042B with #04072B are triadic colors.