Color Hex Logo

#04157c Color Hex

#04157C
(4,21,124)
0 Favorites   0 Comments

Color spaces of #04157c

RGB 421124
HSL0.640.940.25
HSV232°97°49°
CMYK 0.970.830.00   0.51
XYZ3.95632.017419.2497
Yxy2.01740.15690.0800
Hunter Lab14.203524.8639-70.4119
CIE-Lab15.578337.1687-57.8042

#04157c color RGB value is (4,21,124).

#04157c hex color red value is 4, green value is 21 and the blue value of its RGB is 124. Cylindrical-coordinate representations (also known as HSL) of color #04157c hue: 0.64 , saturation: 0.94 and the lightness value of 04157c is 0.25.

The process color (four color CMYK) of #04157c color hex is 0.97, 0.83, 0.00, 0.51. Web safe color of #04157c is #000066. Color #04157c contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 00000100 00010101 01111100
Octal 4 25 174
Decimal 4 21 124
Hex 4 15 7C

RGB Percentages of Color #04157c

%2.68
%14.09
%83.22

CMYK Percentages of Color #04157c

%97
%83
%0
%51

Triadic Colors of #04157c

#04157c #7c0415 #157c04

Analogous Colors of #04157c

#04157c #2f047c #04517c

Monochromatic Colors of #04157c

#04157c

Complementary Color

#04157c #7c6b04

#04157c Color Preview on Black Background

Lorem ipsum dolor sit amet.

#04157c Color Preview on White Background

Lorem ipsum dolor sit amet.

#04157c Color CSS Codes

.mybgcolor {background-color:#04157c; } 
.myforecolor {color:#04157c; }
.mybordercolor {border:3px solid #04157c; }

#04157c Text Font Color

<p style="color:#04157c">Text here</p>

This sample text font color is #04157c
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.


#04157c Background Color

<div style="background-color:#04157c">
Div content here</div>

This div background color is #04157c


#04157c Border Color

<div style="border:3px solid #04157c">
Div here</div>

This div border color is #04157c


Css3 Examples

.textShadowRgb {
  text-shadow: 4px 4px 2px rgba(4,21,124, 0.8); } 
.textShadowHex { 
  text-shadow: 4px 4px 2px #04157c; }
.divShadow { 
  -moz-box-shadow: 1px 1px 3px 2px #04157c;
  -webkit-box-shadow: 1px 1px 3px 2px #04157c;
  box-shadow:         1px 1px 3px 2px #04157c; }

Text Shadow with RGB Values

<p style="text-shadow: 4px 4px 2px rgba(4,21,124, 0.8);">Text here</p>

This text has shadow with rgb values.


Text Shadow with Hex Values

<p style="text-shadow: 4px 4px 2px #04157c">Text here</p>

This text has shadow with hex values.


Div Box Shadow

<div style="-moz-box-shadow: 1px 1px 3px 2px #04157c;
  -webkit-box-shadow: 1px 1px 3px 2px #04157c;
  box-shadow:         1px 1px 3px 2px #04157c;">
Div content here</div>

This div box has shadow with color #04157c


Comments

No comments written yet.

Please login to write comment.