Color Hex Logo

#040fa1 Color Hex

#040FA1
(4,15,161)
0 Favorites   0 Comments

Color spaces of #040fa1

RGB 415161
HSL0.650.950.32
HSV236°98°63°
CMYK 0.980.910.00   0.37
XYZ6.65392.940733.9351
Yxy2.94070.15290.0676
Hunter Lab17.148539.2512-105.3250
CIE-Lab19.804851.7394-73.8675

#040fa1 color RGB value is (4,15,161).

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

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

Base Numbers

BaseRedGreenBlue
Binary 00000100 00001111 10100001
Octal 4 17 241
Decimal 4 15 161
Hex 4 F A1

RGB Percentages of Color #040fa1

%2.22
%8.33
%89.44

CMYK Percentages of Color #040fa1

%98
%91
%0
%37

Triadic Colors of #040fa1

#040fa1 #a1040f #0fa104

Analogous Colors of #040fa1

#040fa1 #4704a1 #045ea1

Monochromatic Colors of #040fa1

#040fa1

Complementary Color

#040fa1 #a19604

#040fa1 Color Preview on Black Background

Lorem ipsum dolor sit amet.

#040fa1 Color Preview on White Background

Lorem ipsum dolor sit amet.

#040fa1 Color CSS Codes

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

#040fa1 Text Font Color

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

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


#040fa1 Background Color

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

This div background color is #040fa1


#040fa1 Border Color

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

This div border color is #040fa1


Css3 Examples

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

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #040fa1


Comments

No comments written yet.

Please login to write comment.