COLOR #04308A

HEX: #04308A
RGB: (4,48,138)

Color info

#04308A contains mainly blue color. Web safe color of #04308A is #003399 (or #039).

RGB color model

#04308A color RGB value is (4,48,138).

  • red value is 4;
  • green value is 48;
  • blue value is 138.
RGB:
(4,48,138)
(2%,19%,54%)

RGB channels and saturation

R 4 of 255 = 2%
G 48 of 255 = 19%
B 138 of 255 = 54%

4
48
138

R + G + B ~ 25%. #04308A is quite dark color.

Portions of RGB colors in percentages

R + G + B =
4 + 48 + 138 = 190 (100%)
R 4 of 190 ~ 2.11%
G 48 of 190 ~ 25.26%
B 138 of 190 ~ 72.63%

%25.26
%72.63

CMYK color model

#04308A color CMYK value is (97,65,0,46).

  • cyan value is 97.10%
  • magenta value is 65.22%
  • yellow value is 0.00%
  • key color value is 45.88%
CMYK:
(97,65,0,46)
C97M65Y0K46 
(97%,65%,0%,46%)
(0.97/0.65/0.00/0.46)	

CMYK percentages

%97.1
%65.22
%0
%45.88

Codes

Color #04308A in popluar color models

04308A
RGB448138
HSL220°94.37%27.84%
HSB/HSV220°97.10%54.12%
CMYK97.10%65.22%0.00%
45.88%

Color #04308A in popluar number systems.

HEX04308A
Decimal448138
Binary10011000010001010
Octal460212

Shades and tints

Shades of #04308A

#04308A
(4,48,138)
#042C7E
(4,44,126)
#042872
(4,40,114)
#042466
(4,36,102)
#04205A
(4,32,90)
#041C4E
(4,28,78)
#041842
(4,24,66)
#041436
(4,20,54)
#04102A
(4,16,42)
#040C1E
(4,12,30)
#040812
(4,8,18)
#000000
(0,0,0)

Tints of #04308A

#04308A
(4,48,138)
#1A4294
(26,66,148)
#30549E
(48,84,158)
#4666A8
(70,102,168)
#5C78B2
(92,120,178)
#728ABC
(114,138,188)
#889CC6
(136,156,198)
#9EAED0
(158,174,208)
#B4C0DA
(180,192,218)
#CAD2E4
(202,210,228)
#E0E4EE
(224,228,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #04308A color. Also use rgb(4,48,138) instead hex code.

Text Font Color

.myTextColor { color: #04308A; }

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

This text font color is #04308A.


Background Color

.myBgColor { background-color: #04308A; }

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

This div background color is #04308A.


Border color

.myBorderColor { border: 1px solid #04308A; }

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

This div border color is #04308A.


Opacity

.myOpacity80 { color: #04308A; opacity: 0.8; }

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

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

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

This text has shadow with #04308A color.

.textShadow {text-shadow: 3px 3px 1px #04308A, 3px 3px 1px red;}

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #04308A on black background.


Color preview on white background

This text has color #04308A on white background.



Black color preview on #04308A background

This text has black color on #04308A background.


White color preview on #04308A background

This text has white color on #04308A background.