Color Hex Logo

#040cd2 Color Hex

#040CD2
(4,12,210)
0 Favorites   0 Comments

Color spaces of #040cd2

RGB 412210
HSL0.660.960.42
HSV238°98°82°
CMYK 0.980.940.00   0.18
XYZ11.81444.941961.3040
Yxy4.94190.15130.0633
Hunter Lab22.230455.9612-147.9408
CIE-Lab26.568666.0475-91.7537

#040cd2 color RGB value is (4,12,210).

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

The process color (four color CMYK) of #040cd2 color hex is 0.98, 0.94, 0.00, 0.18. Web safe color of #040cd2 is #0000cc. Color #040cd2 contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 00000100 00001100 11010010
Octal 4 14 322
Decimal 4 12 210
Hex 4 C D2

RGB Percentages of Color #040cd2

%1.77
%5.31
%92.92

CMYK Percentages of Color #040cd2

%98
%94
%0
%18

Triadic Colors of #040cd2

#040cd2 #d2040c #0cd204

Analogous Colors of #040cd2

#040cd2 #6304d2 #0473d2

Monochromatic Colors of #040cd2

#040cd2

Complementary Color

#040cd2 #d2ca04

#040cd2 Color Preview on Black Background

Lorem ipsum dolor sit amet.

#040cd2 Color Preview on White Background

Lorem ipsum dolor sit amet.

#040cd2 Color CSS Codes

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

#040cd2 Text Font Color

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

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


#040cd2 Background Color

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

This div background color is #040cd2


#040cd2 Border Color

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

This div border color is #040cd2


Css3 Examples

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

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #040cd2


Comments

No comments written yet.

Please login to write comment.