Color Hex Logo

#040cab Color Hex

#040CAB
(4,12,171)
0 Favorites   0 Comments

Color spaces of #040cab

RGB 412171
HSL0.660.950.34
HSV237°98°67°
CMYK 0.980.930.00   0.33
XYZ7.53223.229038.7543
Yxy3.22900.15210.0652
Hunter Lab17.969443.3750-115.2910
CIE-Lab20.938655.5473-78.0497

#040cab color RGB value is (4,12,171).

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

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

Base Numbers

BaseRedGreenBlue
Binary 00000100 00001100 10101011
Octal 4 14 253
Decimal 4 12 171
Hex 4 C AB

RGB Percentages of Color #040cab

%2.14
%6.42
%91.44

CMYK Percentages of Color #040cab

%98
%93
%0
%33

Triadic Colors of #040cab

#040cab #ab040c #0cab04

Analogous Colors of #040cab

#040cab #4f04ab #0460ab

Monochromatic Colors of #040cab

#040cab

Complementary Color

#040cab #aba304

#040cab Color Preview on Black Background

Lorem ipsum dolor sit amet.

#040cab Color Preview on White Background

Lorem ipsum dolor sit amet.

#040cab Color CSS Codes

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

#040cab Text Font Color

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

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


#040cab Background Color

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

This div background color is #040cab


#040cab Border Color

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

This div border color is #040cab


Css3 Examples

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

Text Shadow with RGB Values

<p style="text-shadow: 4px 4px 2px rgba(4,12,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 #040cab">Text here</p>

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #040cab


Comments

No comments written yet.

Please login to write comment.