Color Hex Logo

#042fac Color Hex

#042FAC
(4,47,172)
0 Favorites   0 Comments

Color spaces of #042fac

RGB 447172
HSL0.620.950.35
HSV225°98°67°
CMYK 0.980.730.00   0.33
XYZ8.51305.037439.5534
Yxy5.03740.16030.0949
Hunter Lab22.444228.4272-88.7760
CIE-Lab26.841139.0500-68.8407

#042fac color RGB value is (4,47,172).

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

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

Base Numbers

BaseRedGreenBlue
Binary 00000100 00101111 10101100
Octal 4 57 254
Decimal 4 47 172
Hex 4 2F AC

RGB Percentages of Color #042fac

%1.79
%21.08
%77.13

CMYK Percentages of Color #042fac

%98
%73
%0
%33

Triadic Colors of #042fac

#042fac #ac042f #2fac04

Analogous Colors of #042fac

#042fac #2d04ac #0483ac

Monochromatic Colors of #042fac

#042fac

Complementary Color

#042fac #ac8104

#042fac Color Preview on Black Background

Lorem ipsum dolor sit amet.

#042fac Color Preview on White Background

Lorem ipsum dolor sit amet.

#042fac Color CSS Codes

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

#042fac Text Font Color

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

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


#042fac Background Color

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

This div background color is #042fac


#042fac Border Color

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

This div border color is #042fac


Css3 Examples

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

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #042fac


Comments

No comments written yet.

Please login to write comment.