Color Hex Logo

#042a6c Color Hex

#042A6C
(4,42,108)
0 Favorites   0 Comments

Color spaces of #042a6c

RGB 442108
HSL0.610.930.22
HSV218°96°42°
CMYK 0.960.610.00   0.58
XYZ3.58482.764514.5320
Yxy2.76450.17170.1324
Hunter Lab16.62689.3884-40.1814
CIE-Lab19.074916.4940-41.7340

#042a6c color RGB value is (4,42,108).

#042a6c hex color red value is 4, green value is 42 and the blue value of its RGB is 108. Cylindrical-coordinate representations (also known as HSL) of color #042a6c hue: 0.61 , saturation: 0.93 and the lightness value of 042a6c is 0.22.

The process color (four color CMYK) of #042a6c color hex is 0.96, 0.61, 0.00, 0.58. Web safe color of #042a6c is #003366. Color #042a6c contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 00000100 00101010 01101100
Octal 4 52 154
Decimal 4 42 108
Hex 4 2A 6C

RGB Percentages of Color #042a6c

%2.60
%27.27
%70.13

CMYK Percentages of Color #042a6c

%96
%61
%0
%58

Triadic Colors of #042a6c

#042a6c #6c042a #2a6c04

Analogous Colors of #042a6c

#042a6c #12046c #045e6c

Monochromatic Colors of #042a6c

#042a6c

Complementary Color

#042a6c #6c4604

#042a6c Color Preview on Black Background

Lorem ipsum dolor sit amet.

#042a6c Color Preview on White Background

Lorem ipsum dolor sit amet.

#042a6c Color CSS Codes

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

#042a6c Text Font Color

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

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


#042a6c Background Color

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

This div background color is #042a6c


#042a6c Border Color

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

This div border color is #042a6c


Css3 Examples

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

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #042a6c


Comments

No comments written yet.

Please login to write comment.