Color Hex Logo

#402d8a Color Hex

#402D8A
(64,45,138)
0 Favorites   0 Comments

Color spaces of #402d8a

RGB 6445138
HSL0.700.510.36
HSV252°67°54°
CMYK 0.540.670.00   0.46
XYZ7.64024.801724.5689
Yxy4.80170.20640.1297
Hunter Lab21.912823.8892-51.1378
CIE-Lab26.162234.0536-49.0668

#402d8a color RGB value is (64,45,138).

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

The process color (four color CMYK) of #402d8a color hex is 0.54, 0.67, 0.00, 0.46. Web safe color of #402d8a is #333399. Color #402d8a contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 01000000 00101101 10001010
Octal 100 55 212
Decimal 64 45 138
Hex 40 2D 8A

RGB Percentages of Color #402d8a

%25.91
%18.22
%55.87

CMYK Percentages of Color #402d8a

%54
%67
%0
%46

Triadic Colors of #402d8a

#402d8a #8a402d #2d8a40

Analogous Colors of #402d8a

#402d8a #6f2d8a #2d498a

Monochromatic Colors of #402d8a

#402d8a

Complementary Color

#402d8a #778a2d

#402d8a Color Preview on Black Background

Lorem ipsum dolor sit amet.

#402d8a Color Preview on White Background

Lorem ipsum dolor sit amet.

#402d8a Color CSS Codes

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

#402d8a Text Font Color

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

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


#402d8a Background Color

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

This div background color is #402d8a


#402d8a Border Color

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

This div border color is #402d8a


Css3 Examples

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

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #402d8a


Comments

No comments written yet.

Please login to write comment.