COLOR #042D51

HEX: #042D51 RGB: (4,45,81)

Color info

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

RGB color model

#042D51 color RGB value is (4,45,81).

RGB: (4,45,81) (2%, 18%, 32%)

RGB channels and saturation

R 4 of 255 = 2%
G 45 of 255 = 18%
B 81 of 255 = 32%

4
45
81

R + G + B ~ 17%. #042D51 is dark color.

Portions of RGB colors in percentages

R + G + B = 4 + 45 + 81 = 130 (100%)
R 4 of 130 ~ 3.08%
G 45 of 130 ~ 34.62%
B 81 of 130 ~ 62.31'%

%34.62
%62.31

CMYK color model

#042D51 color CMYK value is (95,44,0,68).

  • cyan value is 95.06%
  • magenta value is 44.44%
  • yellow value is 0.00%
  • key color value is 68.24%

CMYK: (95,44,0,68)
C95M44Y0K68 (95%, 44%, 0%, 68%)
(0.95 / 0.44 / 0.00 / 0.68)

CMYK percentages

%95.06
%44.44
%0
%68.24

Codes

Color #042D51 in popluar color models

04 2D 51
RGB 4 45 81
HSL 208° 90.59% 16.67%
HSB/HSV 208° 95.06% 31.76%
CMYK 95.06% 44.44% 0.00%
68.24%

Color #042D51 in popluar number systems.

HEX 04 2D 51
Decimal 4 45 81
Binary 100 101101 1010001
Octal 4 55 121

Shades and tints

Shades of #042D51

#042D51
(4,45,81)
#04294A
(4,41,74)
#042543
(4,37,67)
#04213C
(4,33,60)
#041D35
(4,29,53)
#04192E
(4,25,46)
#041527
(4,21,39)
#041120
(4,17,32)
#040D19
(4,13,25)
#040912
(4,9,18)
#04050B
(4,5,11)
#000000
(0,0,0)

Tints of #042D51

#042D51
(4,45,81)
#1A4060
(26,64,96)
#30536F
(48,83,111)
#46667E
(70,102,126)
#5C798D
(92,121,141)
#728C9C
(114,140,156)
#889FAB
(136,159,171)
#9EB2BA
(158,178,186)
#B4C5C9
(180,197,201)
#CAD8D8
(202,216,216)
#E0EBE7
(224,235,231)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #042D51 color. Also use rgb(4,45,81) instead hex code.

Text Font Color

.myTextColor { color: #042D51; }

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

This text font color is #042D51.

Background Color

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

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

This div background color is #042D51.

Border color

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

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

This div border color is #042D51.

Opacity

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

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

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

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

This text has shadow with #042D51 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #042D51.

Preview

Color preview on black background

This text has color #042D51 on black background.


Color preview on white background

This text has color #042D51 on white background.


Black color preview on #042D51 background

This text has black color on #042D51 background.


White color preview on #042D51 background

This text has white color on #042D51 background.


Related colors

Complementary color

Complementary color for #hex is #FBD2AE.


I love getcolorcode.com

Triadic colors

1 #51042D and #2D5104 with #042D51 are triadic colors.

2 #512D04 and #2D0451 with #042D51 are triadic colors.