Color Hex Logo

#042a9a Color Hex

#042A9A
(4,42,154)
0 Favorites   0 Comments

Color spaces of #042a9a

RGB 442154
HSL0.620.950.31
HSV225°97°60°
CMYK 0.970.730.00   0.40
XYZ6.71084.014830.9931
Yxy4.01480.16090.0962
Hunter Lab20.037024.7187-77.6837
CIE-Lab23.720335.4481-63.0791

#042a9a color RGB value is (4,42,154).

#042a9a hex color red value is 4, green value is 42 and the blue value of its RGB is 154. Cylindrical-coordinate representations (also known as HSL) of color #042a9a hue: 0.62 , saturation: 0.95 and the lightness value of 042a9a is 0.31.

The process color (four color CMYK) of #042a9a color hex is 0.97, 0.73, 0.00, 0.40. Web safe color of #042a9a is #003399. Color #042a9a contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 00000100 00101010 10011010
Octal 4 52 232
Decimal 4 42 154
Hex 4 2A 9A

RGB Percentages of Color #042a9a

%2.00
%21.00
%77.00

CMYK Percentages of Color #042a9a

%97
%73
%0
%40

Triadic Colors of #042a9a

#042a9a #9a042a #2a9a04

Analogous Colors of #042a9a

#042a9a #29049a #04759a

Monochromatic Colors of #042a9a

#042a9a

Complementary Color

#042a9a #9a7404

#042a9a Color Preview on Black Background

Lorem ipsum dolor sit amet.

#042a9a Color Preview on White Background

Lorem ipsum dolor sit amet.

#042a9a Color CSS Codes

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

#042a9a Text Font Color

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

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


#042a9a Background Color

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

This div background color is #042a9a


#042a9a Border Color

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

This div border color is #042a9a


Css3 Examples

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

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #042a9a


Comments

No comments written yet.

Please login to write comment.