COLOR #042E3F

HEX: #042E3F
RGB: (4,46,63)

Color info

#042E3F contains red, green and blue colors in about the same proportion. Web safe color of #042E3F is #003333 (or #033).

RGB color model

#042E3F color RGB value is (4,46,63).

  • red value is 4;
  • green value is 46;
  • blue value is 63.
RGB:
(4,46,63)
(2%,18%,25%)

RGB channels and saturation

R 4 of 255 = 2%
G 46 of 255 = 18%
B 63 of 255 = 25%

4
46
63

R + G + B ~ 15%. #042E3F is dark color.

Portions of RGB colors in percentages

R + G + B =
4 + 46 + 63 = 113 (100%)
R 4 of 113 ~ 3.54%
G 46 of 113 ~ 40.71%
B 63 of 113 ~ 55.75%

%40.71
%55.75

CMYK color model

#042E3F color CMYK value is (94,27,0,75).

  • cyan value is 93.65%
  • magenta value is 26.98%
  • yellow value is 0.00%
  • key color value is 75.29%
CMYK:
(94,27,0,75)
C94M27Y0K75 
(94%,27%,0%,75%)
(0.94/0.27/0.00/0.75)	

CMYK percentages

%93.65
%26.98
%0
%75.29

Codes

Color #042E3F in popluar color models

042E3F
RGB44663
HSL197°88.06%13.14%
HSB/HSV197°93.65%24.71%
CMYK93.65%26.98%0.00%
75.29%

Color #042E3F in popluar number systems.

HEX042E3F
Decimal44663
Binary100101110111111
Octal45677

Shades and tints

Shades of #042E3F

#042E3F
(4,46,63)
#042A3A
(4,42,58)
#042635
(4,38,53)
#042230
(4,34,48)
#041E2B
(4,30,43)
#041A26
(4,26,38)
#041621
(4,22,33)
#04121C
(4,18,28)
#040E17
(4,14,23)
#040A12
(4,10,18)
#04060D
(4,6,13)
#000000
(0,0,0)

Tints of #042E3F

#042E3F
(4,46,63)
#1A4150
(26,65,80)
#305461
(48,84,97)
#466772
(70,103,114)
#5C7A83
(92,122,131)
#728D94
(114,141,148)
#88A0A5
(136,160,165)
#9EB3B6
(158,179,182)
#B4C6C7
(180,198,199)
#CAD9D8
(202,217,216)
#E0ECE9
(224,236,233)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #042E3F color. Also use rgb(4,46,63) instead hex code.

Text Font Color

.myTextColor { color: #042E3F; }

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

This text font color is #042E3F.


Background Color

.myBgColor { background-color: #042E3F; }

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

This div background color is #042E3F.


Border color

.myBorderColor { border: 1px solid #042E3F; }

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

This div border color is #042E3F.


Opacity

.myOpacity80 { color: #042E3F; opacity: 0.8; }

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

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

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

This text has shadow with #042E3F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #042E3F on black background.


Color preview on white background

This text has color #042E3F on white background.



Black color preview on #042E3F background

This text has black color on #042E3F background.


White color preview on #042E3F background

This text has white color on #042E3F background.