Color Hex Logo

#402f7d Color Hex

#402F7D
(64,47,125)
0 Favorites   0 Comments

Color spaces of #402f7d

RGB 6447125
HSL0.700.450.34
HSV253°62°49°
CMYK 0.490.620.00   0.51
XYZ6.83254.603719.9305
Yxy4.60370.21780.1468
Hunter Lab21.456219.2929-40.0546
CIE-Lab25.574528.6976-41.8774

#402f7d color RGB value is (64,47,125).

#402f7d hex color red value is 64, green value is 47 and the blue value of its RGB is 125. Cylindrical-coordinate representations (also known as HSL) of color #402f7d hue: 0.70 , saturation: 0.45 and the lightness value of 402f7d is 0.34.

The process color (four color CMYK) of #402f7d color hex is 0.49, 0.62, 0.00, 0.51. Web safe color of #402f7d is #333366. Color #402f7d contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 01000000 00101111 01111101
Octal 100 57 175
Decimal 64 47 125
Hex 40 2F 7D

RGB Percentages of Color #402f7d

%27.12
%19.92
%52.97

CMYK Percentages of Color #402f7d

%49
%62
%0
%51

Triadic Colors of #402f7d

#402f7d #7d402f #2f7d40

Analogous Colors of #402f7d

#402f7d #672f7d #2f457d

Monochromatic Colors of #402f7d

#402f7d

Complementary Color

#402f7d #6c7d2f

#402f7d Color Preview on Black Background

Lorem ipsum dolor sit amet.

#402f7d Color Preview on White Background

Lorem ipsum dolor sit amet.

#402f7d Color CSS Codes

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

#402f7d Text Font Color

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

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


#402f7d Background Color

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

This div background color is #402f7d


#402f7d Border Color

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

This div border color is #402f7d


Css3 Examples

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

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #402f7d


Comments

No comments written yet.

Please login to write comment.