Color Hex Logo

#402042 Color Hex

#402042
(64,32,66)
0 Favorites   0 Comments

Color spaces of #402042

RGB 643266
HSL0.820.350.19
HSV296°52°26°
CMYK 0.030.520.00   0.74
XYZ3.61422.51645.4495
Yxy2.51640.31210.2173
Hunter Lab15.863212.9082-9.2638
CIE-Lab17.992621.6163-15.0968

#402042 color RGB value is (64,32,66).

#402042 hex color red value is 64, green value is 32 and the blue value of its RGB is 66. Cylindrical-coordinate representations (also known as HSL) of color #402042 hue: 0.82 , saturation: 0.35 and the lightness value of 402042 is 0.19.

The process color (four color CMYK) of #402042 color hex is 0.03, 0.52, 0.00, 0.74. Web safe color of #402042 is #333333. Color #402042 contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 01000000 00100000 01000010
Octal 100 40 102
Decimal 64 32 66
Hex 40 20 42

RGB Percentages of Color #402042

%39.51
%19.75
%40.74

CMYK Percentages of Color #402042

%3
%52
%0
%74

Triadic Colors of #402042

#402042 #424020 #204240

Analogous Colors of #402042

#402042 #422033 #2f2042

Monochromatic Colors of #402042

#402042

Complementary Color

#402042 #224220

#402042 Color Preview on Black Background

Lorem ipsum dolor sit amet.

#402042 Color Preview on White Background

Lorem ipsum dolor sit amet.

#402042 Color CSS Codes

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

#402042 Text Font Color

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

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


#402042 Background Color

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

This div background color is #402042


#402042 Border Color

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

This div border color is #402042


Css3 Examples

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

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #402042


Comments

No comments written yet.

Please login to write comment.