COLOR #042A62

HEX: #042A62 RGB: (4,42,98)

Color info

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

RGB color model

#042A62 color RGB value is (4,42,98).

RGB: (4,42,98) (2%, 16%, 38%)

RGB channels and saturation

R 4 of 255 = 2%
G 42 of 255 = 16%
B 98 of 255 = 38%

4
42
98

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

Portions of RGB colors in percentages

R + G + B = 4 + 42 + 98 = 144 (100%)
R 4 of 144 ~ 2.78%
G 42 of 144 ~ 29.17%
B 98 of 144 ~ 68.06'%

%29.17
%68.06

CMYK color model

#042A62 color CMYK value is (96,57,0,62).

  • cyan value is 95.92%
  • magenta value is 57.14%
  • yellow value is 0.00%
  • key color value is 61.57%

CMYK: (96,57,0,62)
C96M57Y0K62 (96%, 57%, 0%, 62%)
(0.96 / 0.57 / 0.00 / 0.62)

CMYK percentages

%95.92
%57.14
%0
%61.57

Codes

Color #042A62 in popluar color models

04 2A 62
RGB 4 42 98
HSL 216° 92.16% 20.00%
HSB/HSV 216° 95.92% 38.43%
CMYK 95.92% 57.14% 0.00%
61.57%

Color #042A62 in popluar number systems.

HEX 04 2A 62
Decimal 4 42 98
Binary 100 101010 1100010
Octal 4 52 142

Shades and tints

Shades of #042A62

#042A62
(4,42,98)
#04275A
(4,39,90)
#042452
(4,36,82)
#04214A
(4,33,74)
#041E42
(4,30,66)
#041B3A
(4,27,58)
#041832
(4,24,50)
#04152A
(4,21,42)
#041222
(4,18,34)
#040F1A
(4,15,26)
#040C12
(4,12,18)
#000000
(0,0,0)

Tints of #042A62

#042A62
(4,42,98)
#1A3D70
(26,61,112)
#30507E
(48,80,126)
#46638C
(70,99,140)
#5C769A
(92,118,154)
#7289A8
(114,137,168)
#889CB6
(136,156,182)
#9EAFC4
(158,175,196)
#B4C2D2
(180,194,210)
#CAD5E0
(202,213,224)
#E0E8EE
(224,232,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #042A62 color. Also use rgb(4,42,98) instead hex code.

Text Font Color

.myTextColor { color: #042A62; }

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

This text font color is #042A62.

Background Color

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

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

This div background color is #042A62.

Border color

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

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

This div border color is #042A62.

Opacity

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

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

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

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

This text has shadow with #042A62 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #042A62.

Preview

Color preview on black background

This text has color #042A62 on black background.


Color preview on white background

This text has color #042A62 on white background.


Black color preview on #042A62 background

This text has black color on #042A62 background.


White color preview on #042A62 background

This text has white color on #042A62 background.


Related colors

Complementary color

Complementary color for #hex is #FBD59D.


I love getcolorcode.com

Triadic colors

1 #62042A and #2A6204 with #042A62 are triadic colors.

2 #622A04 and #2A0462 with #042A62 are triadic colors.