Color Hex Logo

#042dab Color Hex

#042DAB
(4,45,171)
0 Favorites   0 Comments

Color spaces of #042dab

RGB 445171
HSL0.630.950.34
HSV225°98°67°
CMYK 0.980.740.00   0.33
XYZ8.33914.842939.0233
Yxy4.84290.15970.0928
Hunter Lab22.006629.1286-89.7317
CIE-Lab26.282439.9241-69.1635

#042dab color RGB value is (4,45,171).

#042dab hex color red value is 4, green value is 45 and the blue value of its RGB is 171. Cylindrical-coordinate representations (also known as HSL) of color #042dab hue: 0.63 , saturation: 0.95 and the lightness value of 042dab is 0.34.

The process color (four color CMYK) of #042dab color hex is 0.98, 0.74, 0.00, 0.33. Web safe color of #042dab is #003399. Color #042dab contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 00000100 00101101 10101011
Octal 4 55 253
Decimal 4 45 171
Hex 4 2D AB

RGB Percentages of Color #042dab

%1.82
%20.45
%77.73

CMYK Percentages of Color #042dab

%98
%74
%0
%33

Triadic Colors of #042dab

#042dab #ab042d #2dab04

Analogous Colors of #042dab

#042dab #2e04ab #0481ab

Monochromatic Colors of #042dab

#042dab

Complementary Color

#042dab #ab8204

#042dab Color Preview on Black Background

Lorem ipsum dolor sit amet.

#042dab Color Preview on White Background

Lorem ipsum dolor sit amet.

#042dab Color CSS Codes

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

#042dab Text Font Color

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

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


#042dab Background Color

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

This div background color is #042dab


#042dab Border Color

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

This div border color is #042dab


Css3 Examples

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

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #042dab


Comments

No comments written yet.

Please login to write comment.