COLOR #042B74

HEX: #042B74
RGB: (4,43,116)

Color info

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

RGB color model

#042B74 color RGB value is (4,43,116).

  • red value is 4;
  • green value is 43;
  • blue value is 116.
RGB:
(4,43,116)
(2%,17%,45%)

RGB channels and saturation

R 4 of 255 = 2%
G 43 of 255 = 17%
B 116 of 255 = 45%

4
43
116

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

Portions of RGB colors in percentages

R + G + B =
4 + 43 + 116 = 163 (100%)
R 4 of 163 ~ 2.45%
G 43 of 163 ~ 26.38%
B 116 of 163 ~ 71.17%

%26.38
%71.17

CMYK color model

#042B74 color CMYK value is (97,63,0,55).

  • cyan value is 96.55%
  • magenta value is 62.93%
  • yellow value is 0.00%
  • key color value is 54.51%
CMYK:
(97,63,0,55)
C97M63Y0K55 
(97%,63%,0%,55%)
(0.97/0.63/0.00/0.55)	

CMYK percentages

%96.55
%62.93
%0
%54.51

Codes

Color #042B74 in popluar color models

042B74
RGB443116
HSL219°93.33%23.53%
HSB/HSV219°96.55%45.49%
CMYK96.55%62.93%0.00%
54.51%

Color #042B74 in popluar number systems.

HEX042B74
Decimal443116
Binary1001010111110100
Octal453164

Shades and tints

Shades of #042B74

#042B74
(4,43,116)
#04286A
(4,40,106)
#042560
(4,37,96)
#042256
(4,34,86)
#041F4C
(4,31,76)
#041C42
(4,28,66)
#041938
(4,25,56)
#04162E
(4,22,46)
#041324
(4,19,36)
#04101A
(4,16,26)
#040D10
(4,13,16)
#000000
(0,0,0)

Tints of #042B74

#042B74
(4,43,116)
#1A3E80
(26,62,128)
#30518C
(48,81,140)
#466498
(70,100,152)
#5C77A4
(92,119,164)
#728AB0
(114,138,176)
#889DBC
(136,157,188)
#9EB0C8
(158,176,200)
#B4C3D4
(180,195,212)
#CAD6E0
(202,214,224)
#E0E9EC
(224,233,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #042B74 color. Also use rgb(4,43,116) instead hex code.

Text Font Color

.myTextColor { color: #042B74; }

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

This text font color is #042B74.


Background Color

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

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

This div background color is #042B74.


Border color

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

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

This div border color is #042B74.


Opacity

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

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

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

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

This text has shadow with #042B74 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #042B74 on black background.


Color preview on white background

This text has color #042B74 on white background.



Black color preview on #042B74 background

This text has black color on #042B74 background.


White color preview on #042B74 background

This text has white color on #042B74 background.