color codes Logo

#402e9e color codes

#402E9E
(64,46,158)
0 Favorites   0 Comments

Color spaces of #402e9e

RGB 6446158
HSL0.690.550.40
HSV250°71°62°
CMYK 0.590.710.00   0.38
XYZ9.26295.512632.9236
Yxy5.51260.19420.1156
Hunter Lab23.478929.3337-66.7048
CIE-Lab28.147939.8018-58.1220

#402e9e color RGB value is (64,46,158).

#402e9e hex color red value is 64, green value is 46 and the blue value of its RGB is 158. Cylindrical-coordinate representations (also known as HSL) of color #402e9e hue: 0.69 , saturation: 0.55 and the lightness value of 402e9e is 0.40.

The process color (four color CMYK) of #402e9e color code is 0.59, 0.71, 0.00, 0.38. Web safe color of #402e9e is #333399. Color #402e9e contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 01000000 00101110 10011110
Octal 100 56 236
Decimal 64 46 158
Hex 40 2E 9E

RGB Percentages of Color #402e9e

%23.88
%17.16
%58.96

CMYK Percentages of Color #402e9e

%59
%71
%0
%38

Triadic Colors of #402e9e

#402e9e #9e402e #2e9e40

Analogous Colors of #402e9e

#402e9e #782e9e #2e549e

Monochromatic Colors of #402e9e

#402e9e

Complementary Color

#402e9e #8c9e2e

#402e9e Color Preview on Black Background

Lorem ipsum dolor sit amet.

#402e9e Color Preview on White Background

Lorem ipsum dolor sit amet.

#402e9e Color CSS Codes

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

#402e9e Text Font Color

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

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


#402e9e Background Color

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

This div background color is #402e9e


#402e9e Border Color

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

This div border color is #402e9e


Css3 Examples

.textShadowRgb {
  text-shadow: 4px 4px 2px rgba(64,46,158, 0.8); } 
.textShadowHex { 
  text-shadow: 4px 4px 2px #402e9e; }
.divShadow { 
  -moz-box-shadow: 1px 1px 3px 2px #402e9e;
  -webkit-box-shadow: 1px 1px 3px 2px #402e9e;
  box-shadow:         1px 1px 3px 2px #402e9e; }

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #402e9e


Comments

No comments written yet.

Please login to write comment.