Color Hex Logo

#402f8d Color Hex

#402F8D
(64,47,141)
0 Favorites   0 Comments

Color spaces of #402f8d

RGB 6447141
HSL0.700.500.37
HSV251°67°55°
CMYK 0.550.670.00   0.45
XYZ7.93865.046125.7549
Yxy5.04610.20490.1303
Hunter Lab22.463523.7706-52.2528
CIE-Lab26.865733.7946-49.7823

#402f8d color RGB value is (64,47,141).

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

The process color (four color CMYK) of #402f8d color hex is 0.55, 0.67, 0.00, 0.45. Web safe color of #402f8d is #333399. Color #402f8d contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 01000000 00101111 10001101
Octal 100 57 215
Decimal 64 47 141
Hex 40 2F 8D

RGB Percentages of Color #402f8d

%25.40
%18.65
%55.95

CMYK Percentages of Color #402f8d

%55
%67
%0
%45

Triadic Colors of #402f8d

#402f8d #8d402f #2f8d40

Analogous Colors of #402f8d

#402f8d #6f2f8d #2f4d8d

Monochromatic Colors of #402f8d

#402f8d

Complementary Color

#402f8d #7c8d2f

#402f8d Color Preview on Black Background

Lorem ipsum dolor sit amet.

#402f8d Color Preview on White Background

Lorem ipsum dolor sit amet.

#402f8d Color CSS Codes

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

#402f8d Text Font Color

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

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


#402f8d Background Color

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

This div background color is #402f8d


#402f8d Border Color

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

This div border color is #402f8d


Css3 Examples

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

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #402f8d


Comments

No comments written yet.

Please login to write comment.