Color Hex Logo

#402f8f Color Hex

#402F8F
(64,47,143)
0 Favorites   0 Comments

Color spaces of #402f8f

RGB 6447143
HSL0.700.510.37
HSV251°67°56°
CMYK 0.550.670.00   0.44
XYZ8.08885.106226.5459
Yxy5.10620.20350.1285
Hunter Lab22.596924.3514-53.8336
CIE-Lab27.035234.4338-50.7436

#402f8f color RGB value is (64,47,143).

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

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

Base Numbers

BaseRedGreenBlue
Binary 01000000 00101111 10001111
Octal 100 57 217
Decimal 64 47 143
Hex 40 2F 8F

RGB Percentages of Color #402f8f

%25.20
%18.50
%56.30

CMYK Percentages of Color #402f8f

%55
%67
%0
%44

Triadic Colors of #402f8f

#402f8f #8f402f #2f8f40

Analogous Colors of #402f8f

#402f8f #702f8f #2f4e8f

Monochromatic Colors of #402f8f

#402f8f

Complementary Color

#402f8f #7e8f2f

#402f8f Color Preview on Black Background

Lorem ipsum dolor sit amet.

#402f8f Color Preview on White Background

Lorem ipsum dolor sit amet.

#402f8f Color CSS Codes

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

#402f8f Text Font Color

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

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


#402f8f Background Color

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

This div background color is #402f8f


#402f8f Border Color

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

This div border color is #402f8f


Css3 Examples

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

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #402f8f


Comments

No comments written yet.

Please login to write comment.