Color Hex Logo

#040fa4 Color Hex

#040FA4
(4,15,164)
0 Favorites   0 Comments

Color spaces of #040fa4

RGB 415164
HSL0.660.950.33
HSV236°98°64°
CMYK 0.980.910.00   0.36
XYZ6.92173.047835.3454
Yxy3.04780.15270.0673
Hunter Lab17.457940.2200-107.8181
CIE-Lab20.234352.6164-74.9800

#040fa4 color RGB value is (4,15,164).

#040fa4 hex color red value is 4, green value is 15 and the blue value of its RGB is 164. Cylindrical-coordinate representations (also known as HSL) of color #040fa4 hue: 0.66 , saturation: 0.95 and the lightness value of 040fa4 is 0.33.

The process color (four color CMYK) of #040fa4 color hex is 0.98, 0.91, 0.00, 0.36. Web safe color of #040fa4 is #000099. Color #040fa4 contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 00000100 00001111 10100100
Octal 4 17 244
Decimal 4 15 164
Hex 4 F A4

RGB Percentages of Color #040fa4

%2.19
%8.20
%89.62

CMYK Percentages of Color #040fa4

%98
%91
%0
%36

Triadic Colors of #040fa4

#040fa4 #a4040f #0fa404

Analogous Colors of #040fa4

#040fa4 #4904a4 #045fa4

Monochromatic Colors of #040fa4

#040fa4

Complementary Color

#040fa4 #a49904

#040fa4 Color Preview on Black Background

Lorem ipsum dolor sit amet.

#040fa4 Color Preview on White Background

Lorem ipsum dolor sit amet.

#040fa4 Color CSS Codes

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

#040fa4 Text Font Color

<p style="color:#040fa4">Text here</p>

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


#040fa4 Background Color

<div style="background-color:#040fa4">
Div content here</div>

This div background color is #040fa4


#040fa4 Border Color

<div style="border:3px solid #040fa4">
Div here</div>

This div border color is #040fa4


Css3 Examples

.textShadowRgb {
  text-shadow: 4px 4px 2px rgba(4,15,164, 0.8); } 
.textShadowHex { 
  text-shadow: 4px 4px 2px #040fa4; }
.divShadow { 
  -moz-box-shadow: 1px 1px 3px 2px #040fa4;
  -webkit-box-shadow: 1px 1px 3px 2px #040fa4;
  box-shadow:         1px 1px 3px 2px #040fa4; }

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #040fa4


Comments

No comments written yet.

Please login to write comment.