Color Hex Logo

#402f9d Color Hex

#402F9D
(64,47,157)
0 Favorites   0 Comments

Color spaces of #402f9d

RGB 6447157
HSL0.690.540.40
HSV249°70°62°
CMYK 0.590.700.00   0.38
XYZ9.21675.557332.4852
Yxy5.55730.19500.1176
Hunter Lab23.573928.5338-65.2007
CIE-Lab28.266938.9056-57.3184

#402f9d color RGB value is (64,47,157).

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

The process color (four color CMYK) of #402f9d color hex is 0.59, 0.70, 0.00, 0.38. Web safe color of #402f9d is #333399. Color #402f9d contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 01000000 00101111 10011101
Octal 100 57 235
Decimal 64 47 157
Hex 40 2F 9D

RGB Percentages of Color #402f9d

%23.88
%17.54
%58.58

CMYK Percentages of Color #402f9d

%59
%70
%0
%38

Triadic Colors of #402f9d

#402f9d #9d402f #2f9d40

Analogous Colors of #402f9d

#402f9d #772f9d #2f559d

Monochromatic Colors of #402f9d

#402f9d

Complementary Color

#402f9d #8c9d2f

#402f9d Color Preview on Black Background

Lorem ipsum dolor sit amet.

#402f9d Color Preview on White Background

Lorem ipsum dolor sit amet.

#402f9d Color CSS Codes

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

#402f9d Text Font Color

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

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


#402f9d Background Color

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

This div background color is #402f9d


#402f9d Border Color

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

This div border color is #402f9d


Css3 Examples

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

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #402f9d


Comments

No comments written yet.

Please login to write comment.