Color Hex Logo

#402c8c Color Hex

#402C8C
(64,44,140)
0 Favorites   0 Comments

Color spaces of #402c8c

RGB 6444140
HSL0.700.520.36
HSV253°69°55°
CMYK 0.540.690.00   0.45
XYZ7.74874.784825.3261
Yxy4.78480.20470.1264
Hunter Lab21.874224.9519-53.3345
CIE-Lab26.112735.2837-50.3904

#402c8c color RGB value is (64,44,140).

#402c8c hex color red value is 64, green value is 44 and the blue value of its RGB is 140. Cylindrical-coordinate representations (also known as HSL) of color #402c8c hue: 0.70 , saturation: 0.52 and the lightness value of 402c8c is 0.36.

The process color (four color CMYK) of #402c8c color hex is 0.54, 0.69, 0.00, 0.45. Web safe color of #402c8c is #333399. Color #402c8c contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 01000000 00101100 10001100
Octal 100 54 214
Decimal 64 44 140
Hex 40 2C 8C

RGB Percentages of Color #402c8c

%25.81
%17.74
%56.45

CMYK Percentages of Color #402c8c

%54
%69
%0
%45

Triadic Colors of #402c8c

#402c8c #8c402c #2c8c40

Analogous Colors of #402c8c

#402c8c #702c8c #2c488c

Monochromatic Colors of #402c8c

#402c8c

Complementary Color

#402c8c #788c2c

#402c8c Color Preview on Black Background

Lorem ipsum dolor sit amet.

#402c8c Color Preview on White Background

Lorem ipsum dolor sit amet.

#402c8c Color CSS Codes

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

#402c8c Text Font Color

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

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


#402c8c Background Color

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

This div background color is #402c8c


#402c8c Border Color

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

This div border color is #402c8c


Css3 Examples

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

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #402c8c


Comments

No comments written yet.

Please login to write comment.