Color Hex Logo

#042a5f Color Hex

#042A5F
(4,42,95)
0 Favorites   0 Comments

Color spaces of #042a5f

RGB 44295
HSL0.600.920.19
HSV215°96°37°
CMYK 0.960.560.00   0.63
XYZ2.94362.508011.1554
Yxy2.50800.17730.1510
Hunter Lab15.83675.4641-30.6784
CIE-Lab17.954710.6616-35.0421

#042a5f color RGB value is (4,42,95).

#042a5f hex color red value is 4, green value is 42 and the blue value of its RGB is 95. Cylindrical-coordinate representations (also known as HSL) of color #042a5f hue: 0.60 , saturation: 0.92 and the lightness value of 042a5f is 0.19.

The process color (four color CMYK) of #042a5f color hex is 0.96, 0.56, 0.00, 0.63. Web safe color of #042a5f is #003366. Color #042a5f contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 00000100 00101010 01011111
Octal 4 52 137
Decimal 4 42 95
Hex 4 2A 5F

RGB Percentages of Color #042a5f

%2.84
%29.79
%67.38

CMYK Percentages of Color #042a5f

%96
%56
%0
%63

Triadic Colors of #042a5f

#042a5f #5f042a #2a5f04

Analogous Colors of #042a5f

#042a5f #0b045f #04585f

Monochromatic Colors of #042a5f

#042a5f

Complementary Color

#042a5f #5f3904

#042a5f Color Preview on Black Background

Lorem ipsum dolor sit amet.

#042a5f Color Preview on White Background

Lorem ipsum dolor sit amet.

#042a5f Color CSS Codes

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

#042a5f Text Font Color

<p style="color:#042a5f">Text here</p>

This sample text font color is #042a5f
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.


#042a5f Background Color

<div style="background-color:#042a5f">
Div content here</div>

This div background color is #042a5f


#042a5f Border Color

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

This div border color is #042a5f


Css3 Examples

.textShadowRgb {
  text-shadow: 4px 4px 2px rgba(4,42,95, 0.8); } 
.textShadowHex { 
  text-shadow: 4px 4px 2px #042a5f; }
.divShadow { 
  -moz-box-shadow: 1px 1px 3px 2px #042a5f;
  -webkit-box-shadow: 1px 1px 3px 2px #042a5f;
  box-shadow:         1px 1px 3px 2px #042a5f; }

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #042a5f


Comments

No comments written yet.

Please login to write comment.