COLOR #04339D

HEX: #04339D
RGB: (4,51,157)

Color info

#04339D contains mainly blue color. Web safe color of #04339D is #003399 (or #039).

RGB color model

#04339D color RGB value is (4,51,157).

  • red value is 4;
  • green value is 51;
  • blue value is 157.
RGB:
(4,51,157)
(2%,20%,62%)

RGB channels and saturation

R 4 of 255 = 2%
G 51 of 255 = 20%
B 157 of 255 = 62%

4
51
157

R + G + B ~ 28%. #04339D is quite dark color.

Portions of RGB colors in percentages

R + G + B =
4 + 51 + 157 = 212 (100%)
R 4 of 212 ~ 1.89%
G 51 of 212 ~ 24.06%
B 157 of 212 ~ 74.06%

%24.06
%74.06

CMYK color model

#04339D color CMYK value is (97,68,0,38).

  • cyan value is 97.45%
  • magenta value is 67.52%
  • yellow value is 0.00%
  • key color value is 38.43%
CMYK:
(97,68,0,38)
C97M68Y0K38 
(97%,68%,0%,38%)
(0.97/0.68/0.00/0.38)	

CMYK percentages

%97.45
%67.52
%0
%38.43

Codes

Color #04339D in popluar color models

04339D
RGB451157
HSL222°95.03%31.57%
HSB/HSV222°97.45%61.57%
CMYK97.45%67.52%0.00%
38.43%

Color #04339D in popluar number systems.

HEX04339D
Decimal451157
Binary10011001110011101
Octal463235

Shades and tints

Shades of #04339D

#04339D
(4,51,157)
#042F8F
(4,47,143)
#042B81
(4,43,129)
#042773
(4,39,115)
#042365
(4,35,101)
#041F57
(4,31,87)
#041B49
(4,27,73)
#04173B
(4,23,59)
#04132D
(4,19,45)
#040F1F
(4,15,31)
#040B11
(4,11,17)
#000000
(0,0,0)

Tints of #04339D

#04339D
(4,51,157)
#1A45A5
(26,69,165)
#3057AD
(48,87,173)
#4669B5
(70,105,181)
#5C7BBD
(92,123,189)
#728DC5
(114,141,197)
#889FCD
(136,159,205)
#9EB1D5
(158,177,213)
#B4C3DD
(180,195,221)
#CAD5E5
(202,213,229)
#E0E7ED
(224,231,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #04339D color. Also use rgb(4,51,157) instead hex code.

Text Font Color

.myTextColor { color: #04339D; }

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

This text font color is #04339D.


Background Color

.myBgColor { background-color: #04339D; }

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

This div background color is #04339D.


Border color

.myBorderColor { border: 1px solid #04339D; }

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

This div border color is #04339D.


Opacity

.myOpacity80 { color: #04339D; opacity: 0.8; }

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

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

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

This text has shadow with #04339D color.

.textShadow {text-shadow: 3px 3px 1px #04339D, 3px 3px 1px red;}

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #04339D on black background.


Color preview on white background

This text has color #04339D on white background.



Black color preview on #04339D background

This text has black color on #04339D background.


White color preview on #04339D background

This text has white color on #04339D background.