Color Hex Logo

#402f98 Color Hex

#402F98
(64,47,152)
0 Favorites   0 Comments

Color spaces of #402f98

RGB 6447152
HSL0.690.530.39
HSV250°69°60°
CMYK 0.580.690.00   0.40
XYZ8.79845.390030.2824
Yxy5.39000.19780.1212
Hunter Lab23.216427.0182-61.0838
CIE-Lab27.818237.3108-55.0004

#402f98 color RGB value is (64,47,152).

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

The process color (four color CMYK) of #402f98 color hex is 0.58, 0.69, 0.00, 0.40. Web safe color of #402f98 is #333399. Color #402f98 contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 01000000 00101111 10011000
Octal 100 57 230
Decimal 64 47 152
Hex 40 2F 98

RGB Percentages of Color #402f98

%24.33
%17.87
%57.79

CMYK Percentages of Color #402f98

%58
%69
%0
%40

Triadic Colors of #402f98

#402f98 #98402f #2f9840

Analogous Colors of #402f98

#402f98 #752f98 #2f5398

Monochromatic Colors of #402f98

#402f98

Complementary Color

#402f98 #87982f

#402f98 Color Preview on Black Background

Lorem ipsum dolor sit amet.

#402f98 Color Preview on White Background

Lorem ipsum dolor sit amet.

#402f98 Color CSS Codes

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

#402f98 Text Font Color

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

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


#402f98 Background Color

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

This div background color is #402f98


#402f98 Border Color

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

This div border color is #402f98


Css3 Examples

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

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #402f98


Comments

No comments written yet.

Please login to write comment.