Color Hex Logo

#4042ec Color Hex

#4042EC
(64,66,236)
0 Favorites   0 Comments

Color spaces of #4042ec

RGB 6466236
HSL0.660.820.59
HSV239°73°93°
CMYK 0.730.720.00   0.07
XYZ19.202911.042580.4762
Yxy11.04250.17340.0997
Hunter Lab33.230344.9975-120.3258
CIE-Lab39.652053.5114-84.8764

#4042ec color RGB value is (64,66,236).

#4042ec hex color red value is 64, green value is 66 and the blue value of its RGB is 236. Cylindrical-coordinate representations (also known as HSL) of color #4042ec hue: 0.66 , saturation: 0.82 and the lightness value of 4042ec is 0.59.

The process color (four color CMYK) of #4042ec color hex is 0.73, 0.72, 0.00, 0.07. Web safe color of #4042ec is #3333ff. Color #4042ec contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 01000000 01000010 11101100
Octal 100 102 354
Decimal 64 66 236
Hex 40 42 EC

RGB Percentages of Color #4042ec

%17.49
%18.03
%64.48

CMYK Percentages of Color #4042ec

%73
%72
%0
%7

Triadic Colors of #4042ec

#4042ec #ec4042 #42ec40

Analogous Colors of #4042ec

#4042ec #9440ec #4098ec

Monochromatic Colors of #4042ec

#4042ec

Complementary Color

#4042ec #ecea40

#4042ec Color Preview on Black Background

Lorem ipsum dolor sit amet.

#4042ec Color Preview on White Background

Lorem ipsum dolor sit amet.

#4042ec Color CSS Codes

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

#4042ec Text Font Color

<p style="color:#4042ec">Text here</p>

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


#4042ec Background Color

<div style="background-color:#4042ec">
Div content here</div>

This div background color is #4042ec


#4042ec Border Color

<div style="border:3px solid #4042ec">
Div here</div>

This div border color is #4042ec


Css3 Examples

.textShadowRgb {
  text-shadow: 4px 4px 2px rgba(64,66,236, 0.8); } 
.textShadowHex { 
  text-shadow: 4px 4px 2px #4042ec; }
.divShadow { 
  -moz-box-shadow: 1px 1px 3px 2px #4042ec;
  -webkit-box-shadow: 1px 1px 3px 2px #4042ec;
  box-shadow:         1px 1px 3px 2px #4042ec; }

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #4042ec


Comments

No comments written yet.

Please login to write comment.