Color Hex Logo

#402f7c Color Hex

#402F7C
(64,47,124)
0 Favorites   0 Comments

Color spaces of #402f7c

RGB 6447124
HSL0.700.450.34
HSV253°62°49°
CMYK 0.480.620.00   0.51
XYZ6.76904.578319.5957
Yxy4.57830.21880.1480
Hunter Lab21.397019.0244-39.3209
CIE-Lab25.497928.3817-41.3700

#402f7c color RGB value is (64,47,124).

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

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

Base Numbers

BaseRedGreenBlue
Binary 01000000 00101111 01111100
Octal 100 57 174
Decimal 64 47 124
Hex 40 2F 7C

RGB Percentages of Color #402f7c

%27.23
%20.00
%52.77

CMYK Percentages of Color #402f7c

%48
%62
%0
%51

Triadic Colors of #402f7c

#402f7c #7c402f #2f7c40

Analogous Colors of #402f7c

#402f7c #672f7c #2f457c

Monochromatic Colors of #402f7c

#402f7c

Complementary Color

#402f7c #6b7c2f

#402f7c Color Preview on Black Background

Lorem ipsum dolor sit amet.

#402f7c Color Preview on White Background

Lorem ipsum dolor sit amet.

#402f7c Color CSS Codes

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

#402f7c Text Font Color

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

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


#402f7c Background Color

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

This div background color is #402f7c


#402f7c Border Color

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

This div border color is #402f7c


Css3 Examples

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

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #402f7c


Comments

No comments written yet.

Please login to write comment.