Color Hex Logo

#040caf Color Hex

#040CAF
(4,12,175)
0 Favorites   0 Comments

Color spaces of #040caf

RGB 412175
HSL0.660.960.35
HSV237°98°69°
CMYK 0.980.930.00   0.31
XYZ7.91943.383940.7932
Yxy3.38390.15200.0650
Hunter Lab18.395444.6542-118.6035
CIE-Lab21.520156.6597-79.4905

#040caf color RGB value is (4,12,175).

#040caf hex color red value is 4, green value is 12 and the blue value of its RGB is 175. Cylindrical-coordinate representations (also known as HSL) of color #040caf hue: 0.66 , saturation: 0.96 and the lightness value of 040caf is 0.35.

The process color (four color CMYK) of #040caf color hex is 0.98, 0.93, 0.00, 0.31. Web safe color of #040caf is #000099. Color #040caf contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 00000100 00001100 10101111
Octal 4 14 257
Decimal 4 12 175
Hex 4 C AF

RGB Percentages of Color #040caf

%2.09
%6.28
%91.62

CMYK Percentages of Color #040caf

%98
%93
%0
%31

Triadic Colors of #040caf

#040caf #af040c #0caf04

Analogous Colors of #040caf

#040caf #5104af #0462af

Monochromatic Colors of #040caf

#040caf

Complementary Color

#040caf #afa704

#040caf Color Preview on Black Background

Lorem ipsum dolor sit amet.

#040caf Color Preview on White Background

Lorem ipsum dolor sit amet.

#040caf Color CSS Codes

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

#040caf Text Font Color

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

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


#040caf Background Color

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

This div background color is #040caf


#040caf Border Color

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

This div border color is #040caf


Css3 Examples

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

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #040caf


Comments

No comments written yet.

Please login to write comment.