color codes Logo

#402af6 color codes

#402AF6
(64,42,246)
0 Favorites   0 Comments

Color spaces of #402af6

RGB 6442246
HSL0.680.920.56
HSV246°83°96°
CMYK 0.740.830.00   0.04
XYZ19.57699.399787.9713
Yxy9.39970.16740.0804
Hunter Lab30.658960.3260-148.6627
CIE-Lab36.742767.9437-95.3403

#402af6 color RGB value is (64,42,246).

#402af6 hex color red value is 64, green value is 42 and the blue value of its RGB is 246. Cylindrical-coordinate representations (also known as HSL) of color #402af6 hue: 0.68 , saturation: 0.92 and the lightness value of 402af6 is 0.56.

The process color (four color CMYK) of #402af6 color code is 0.74, 0.83, 0.00, 0.04. Web safe color of #402af6 is #3333ff. Color #402af6 contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 01000000 00101010 11110110
Octal 100 52 366
Decimal 64 42 246
Hex 40 2A F6

RGB Percentages of Color #402af6

%18.18
%11.93
%69.89

CMYK Percentages of Color #402af6

%74
%83
%0
%4

Triadic Colors of #402af6

#402af6 #f6402a #2af640

Analogous Colors of #402af6

#402af6 #a62af6 #2a7af6

Monochromatic Colors of #402af6

#402af6

Complementary Color

#402af6 #e0f62a

#402af6 Color Preview on Black Background

Lorem ipsum dolor sit amet.

#402af6 Color Preview on White Background

Lorem ipsum dolor sit amet.

#402af6 Color CSS Codes

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

#402af6 Text Font Color

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

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


#402af6 Background Color

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

This div background color is #402af6


#402af6 Border Color

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

This div border color is #402af6


Css3 Examples

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

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #402af6

Related Colors


Comments

No comments written yet.

Please login to write comment.