#402742 Color Hex

#402742
(64,39,66)
0 Favorites   0 Comments

Color spaces of #402742

RGB 643966
HSL0.820.260.21
HSV296°41°26°
CMYK 0.030.410.00   0.74
XYZ3.82322.93445.5191
Yxy2.93440.31140.2390
Hunter Lab17.13019.8611-7.1114
CIE-Lab19.779217.0958-12.3289


#402742 color RGB value is (64,39,66).

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

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

Base Numbers

BaseRedGreenBlue
Binary 01000000 00100111 01000010
Octal 100 47 102
Decimal 64 39 66
Hex 40 27 42

RGB Percentages of Color #402742

%37.87
%23.08
%39.05

CMYK Percentages of Color #402742

%3
%41
%0
%74

Triadic Colors of #402742

#402742 #424027 #274240

Analogous Colors of #402742

#402742 #422737 #332742

Monochromatic Colors of #402742

#402742

Complementary Color

#402742 #294227

#402742 Color Preview on Black Background

Lorem ipsum dolor sit amet.

#402742 Color Preview on White Background

Lorem ipsum dolor sit amet.

#402742 Color CSS Codes

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

#402742 Text Font Color

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

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


#402742 Background Color

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

This div background color is #402742


#402742 Border Color

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

This div border color is #402742


Css3 Examples

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

Text Shadow with RGB Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #402742


Comments

No comments written yet.

Please login to write comment.

This website uses cookies to collect information about how you interact with our website. We use this information in order to improve and customize your browsing experience and for analytics and metrics about our visitors. To find out more about the cookies we use, see our Privacy Policy.