Color Hex Logo

#402fab Color Hex

#402FAB
(64,47,171)
0 Favorites   0 Comments

Color spaces of #402fab

RGB 6447171
HSL0.690.570.43
HSV248°73°67°
CMYK 0.630.730.00   0.33
XYZ10.48166.063339.1460
Yxy6.06330.18820.1089
Hunter Lab24.623832.8905-77.0205
CIE-Lab29.571643.3434-63.6412

#402fab color RGB value is (64,47,171).

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

The process color (four color CMYK) of #402fab color hex is 0.63, 0.73, 0.00, 0.33. Web safe color of #402fab is #333399. Color #402fab contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 01000000 00101111 10101011
Octal 100 57 253
Decimal 64 47 171
Hex 40 2F AB

RGB Percentages of Color #402fab

%22.70
%16.67
%60.64

CMYK Percentages of Color #402fab

%63
%73
%0
%33

Triadic Colors of #402fab

#402fab #ab402f #2fab40

Analogous Colors of #402fab

#402fab #7e2fab #2f5cab

Monochromatic Colors of #402fab

#402fab

Complementary Color

#402fab #9aab2f

#402fab Color Preview on Black Background

Lorem ipsum dolor sit amet.

#402fab Color Preview on White Background

Lorem ipsum dolor sit amet.

#402fab Color CSS Codes

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

#402fab Text Font Color

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

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


#402fab Background Color

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

This div background color is #402fab


#402fab Border Color

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

This div border color is #402fab


Css3 Examples

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

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #402fab


Comments

No comments written yet.

Please login to write comment.