COLOR #042477

HEX: #042477 RGB: (4,36,119)

Color info

#042477 contains mainly blue color. Web safe color of #042477 is #003366 (or #036).

RGB color model

#042477 color RGB value is (4,36,119).

RGB: (4,36,119) (2%, 14%, 47%)

RGB channels and saturation

R 4 of 255 = 2%
G 36 of 255 = 14%
B 119 of 255 = 47%

4
36
119

R + G + B ~ 21%. #042477 is dark color.

Portions of RGB colors in percentages

R + G + B = 4 + 36 + 119 = 159 (100%)
R 4 of 159 ~ 2.52%
G 36 of 159 ~ 22.64%
B 119 of 159 ~ 74.84'%

%22.64
%74.84

CMYK color model

#042477 color CMYK value is (97,70,0,53).

  • cyan value is 96.64%
  • magenta value is 69.75%
  • yellow value is 0.00%
  • key color value is 53.33%

CMYK: (97,70,0,53)
C97M70Y0K53 (97%, 70%, 0%, 53%)
(0.97 / 0.70 / 0.00 / 0.53)

CMYK percentages

%96.64
%69.75
%0
%53.33

Codes

Color #042477 in popluar color models

04 24 77
RGB 4 36 119
HSL 223° 93.50% 24.12%
HSB/HSV 223° 96.64% 46.67%
CMYK 96.64% 69.75% 0.00%
53.33%

Color #042477 in popluar number systems.

HEX 04 24 77
Decimal 4 36 119
Binary 100 100100 1110111
Octal 4 44 167

Shades and tints

Shades of #042477

#042477
(4,36,119)
#04216D
(4,33,109)
#041E63
(4,30,99)
#041B59
(4,27,89)
#04184F
(4,24,79)
#041545
(4,21,69)
#04123B
(4,18,59)
#040F31
(4,15,49)
#040C27
(4,12,39)
#04091D
(4,9,29)
#040613
(4,6,19)
#000000
(0,0,0)

Tints of #042477

#042477
(4,36,119)
#1A3783
(26,55,131)
#304A8F
(48,74,143)
#465D9B
(70,93,155)
#5C70A7
(92,112,167)
#7283B3
(114,131,179)
#8896BF
(136,150,191)
#9EA9CB
(158,169,203)
#B4BCD7
(180,188,215)
#CACFE3
(202,207,227)
#E0E2EF
(224,226,239)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #042477 color. Also use rgb(4,36,119) instead hex code.

Text Font Color

.myTextColor { color: #042477; }

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

This text font color is #042477.

Background Color

.myBgColor { background-color: #042477; }

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

This div background color is #042477.

Border color

.myBorderColor { border: 1px solid #042477; }

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

This div border color is #042477.

Opacity

.myOpacity80 { color: #042477; opacity: 0.8; }

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

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

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

This text has shadow with #042477 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #042477.

Preview

Color preview on black background

This text has color #042477 on black background.


Color preview on white background

This text has color #042477 on white background.


Black color preview on #042477 background

This text has black color on #042477 background.


White color preview on #042477 background

This text has white color on #042477 background.


Related colors

Complementary color

Complementary color for #hex is #FBDB88.


I love getcolorcode.com

Triadic colors

1 #770424 and #247704 with #042477 are triadic colors.

2 #772404 and #240477 with #042477 are triadic colors.