COLOR #04257A

HEX: #04257A RGB: (4,37,122)

Color info

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

RGB color model

#04257A color RGB value is (4,37,122).

RGB: (4,37,122) (2%, 15%, 48%)

RGB channels and saturation

R 4 of 255 = 2%
G 37 of 255 = 15%
B 122 of 255 = 48%

4
37
122

R + G + B ~ 22%. #04257A is dark color.

Portions of RGB colors in percentages

R + G + B = 4 + 37 + 122 = 163 (100%)
R 4 of 163 ~ 2.45%
G 37 of 163 ~ 22.7%
B 122 of 163 ~ 74.85'%

%22.7
%74.85

CMYK color model

#04257A color CMYK value is (97,70,0,52).

  • cyan value is 96.72%
  • magenta value is 69.67%
  • yellow value is 0.00%
  • key color value is 52.16%

CMYK: (97,70,0,52)
C97M70Y0K52 (97%, 70%, 0%, 52%)
(0.97 / 0.70 / 0.00 / 0.52)

CMYK percentages

%96.72
%69.67
%0
%52.16

Codes

Color #04257A in popluar color models

04 25 7A
RGB 4 37 122
HSL 223° 93.65% 24.71%
HSB/HSV 223° 96.72% 47.84%
CMYK 96.72% 69.67% 0.00%
52.16%

Color #04257A in popluar number systems.

HEX 04 25 7A
Decimal 4 37 122
Binary 100 100101 1111010
Octal 4 45 172

Shades and tints

Shades of #04257A

#04257A
(4,37,122)
#04226F
(4,34,111)
#041F64
(4,31,100)
#041C59
(4,28,89)
#04194E
(4,25,78)
#041643
(4,22,67)
#041338
(4,19,56)
#04102D
(4,16,45)
#040D22
(4,13,34)
#040A17
(4,10,23)
#04070C
(4,7,12)
#000000
(0,0,0)

Tints of #04257A

#04257A
(4,37,122)
#1A3886
(26,56,134)
#304B92
(48,75,146)
#465E9E
(70,94,158)
#5C71AA
(92,113,170)
#7284B6
(114,132,182)
#8897C2
(136,151,194)
#9EAACE
(158,170,206)
#B4BDDA
(180,189,218)
#CAD0E6
(202,208,230)
#E0E3F2
(224,227,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #04257A color. Also use rgb(4,37,122) instead hex code.

Text Font Color

.myTextColor { color: #04257A; }

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

This text font color is #04257A.

Background Color

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

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

This div background color is #04257A.

Border color

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

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

This div border color is #04257A.

Opacity

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

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

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

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

This text has shadow with #04257A color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #04257A.

Preview

Color preview on black background

This text has color #04257A on black background.


Color preview on white background

This text has color #04257A on white background.


Black color preview on #04257A background

This text has black color on #04257A background.


White color preview on #04257A background

This text has white color on #04257A background.


Related colors

Complementary color

Complementary color for #hex is #FBDA85.


I love getcolorcode.com

Triadic colors

1 #7A0425 and #257A04 with #04257A are triadic colors.

2 #7A2504 and #25047A with #04257A are triadic colors.