COLOR #042F5E

HEX: #042F5E RGB: (4,47,94)

Color info

#042F5E contains mainly green and blue colors. Web safe color of #042F5E is #003366 (or #036).

RGB color model

#042F5E color RGB value is (4,47,94).

RGB: (4,47,94) (2%, 18%, 37%)

RGB channels and saturation

R 4 of 255 = 2%
G 47 of 255 = 18%
B 94 of 255 = 37%

4
47
94

R + G + B ~ 19%. #042F5E is dark color.

Portions of RGB colors in percentages

R + G + B = 4 + 47 + 94 = 145 (100%)
R 4 of 145 ~ 2.76%
G 47 of 145 ~ 32.41%
B 94 of 145 ~ 64.83'%

%32.41
%64.83

CMYK color model

#042F5E color CMYK value is (96,50,0,63).

  • cyan value is 95.74%
  • magenta value is 50.00%
  • yellow value is 0.00%
  • key color value is 63.14%

CMYK: (96,50,0,63)
C96M50Y0K63 (96%, 50%, 0%, 63%)
(0.96 / 0.50 / 0.00 / 0.63)

CMYK percentages

%95.74
%50
%0
%63.14

Codes

Color #042F5E in popluar color models

04 2F 5E
RGB 4 47 94
HSL 211° 91.84% 19.22%
HSB/HSV 211° 95.74% 36.86%
CMYK 95.74% 50.00% 0.00%
63.14%

Color #042F5E in popluar number systems.

HEX 04 2F 5E
Decimal 4 47 94
Binary 100 101111 1011110
Octal 4 57 136

Shades and tints

Shades of #042F5E

#042F5E
(4,47,94)
#042B56
(4,43,86)
#04274E
(4,39,78)
#042346
(4,35,70)
#041F3E
(4,31,62)
#041B36
(4,27,54)
#04172E
(4,23,46)
#041326
(4,19,38)
#040F1E
(4,15,30)
#040B16
(4,11,22)
#04070E
(4,7,14)
#000000
(0,0,0)

Tints of #042F5E

#042F5E
(4,47,94)
#1A416C
(26,65,108)
#30537A
(48,83,122)
#466588
(70,101,136)
#5C7796
(92,119,150)
#7289A4
(114,137,164)
#889BB2
(136,155,178)
#9EADC0
(158,173,192)
#B4BFCE
(180,191,206)
#CAD1DC
(202,209,220)
#E0E3EA
(224,227,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #042F5E color. Also use rgb(4,47,94) instead hex code.

Text Font Color

.myTextColor { color: #042F5E; }

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

This text font color is #042F5E.

Background Color

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

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

This div background color is #042F5E.

Border color

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

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

This div border color is #042F5E.

Opacity

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

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

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

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

This text has shadow with #042F5E color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #042F5E.

Preview

Color preview on black background

This text has color #042F5E on black background.


Color preview on white background

This text has color #042F5E on white background.


Black color preview on #042F5E background

This text has black color on #042F5E background.


White color preview on #042F5E background

This text has white color on #042F5E background.


Related colors

Complementary color

Complementary color for #hex is #FBD0A1.


I love getcolorcode.com

Triadic colors

1 #5E042F and #2F5E04 with #042F5E are triadic colors.

2 #5E2F04 and #2F045E with #042F5E are triadic colors.