Color Hex Logo

#402d9b Color Hex

#402D9B
(64,45,155)
0 Favorites   0 Comments

Color spaces of #402d9b

RGB 6445155
HSL0.700.550.39
HSV250°71°61°
CMYK 0.590.710.00   0.39
XYZ8.96915.333331.5671
Yxy5.33330.19550.1163
Hunter Lab23.093928.9105-64.8777
CIE-Lab27.664039.4288-57.0869

#402d9b color RGB value is (64,45,155).

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

The process color (four color CMYK) of #402d9b color hex is 0.59, 0.71, 0.00, 0.39. Web safe color of #402d9b is #333399. Color #402d9b contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 01000000 00101101 10011011
Octal 100 55 233
Decimal 64 45 155
Hex 40 2D 9B

RGB Percentages of Color #402d9b

%24.24
%17.05
%58.71

CMYK Percentages of Color #402d9b

%59
%71
%0
%39

Triadic Colors of #402d9b

#402d9b #9b402d #2d9b40

Analogous Colors of #402d9b

#402d9b #772d9b #2d519b

Monochromatic Colors of #402d9b

#402d9b

Complementary Color

#402d9b #889b2d

#402d9b Color Preview on Black Background

Lorem ipsum dolor sit amet.

#402d9b Color Preview on White Background

Lorem ipsum dolor sit amet.

#402d9b Color CSS Codes

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

#402d9b Text Font Color

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

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


#402d9b Background Color

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

This div background color is #402d9b


#402d9b Border Color

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

This div border color is #402d9b


Css3 Examples

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

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #402d9b


Comments

No comments written yet.

Please login to write comment.