Color Hex Logo

#40158e Color Hex

#40158E
(64,21,142)
0 Favorites   0 Comments

Color spaces of #40158e

RGB 6421142
HSL0.730.740.32
HSV261°85°56°
CMYK 0.550.850.00   0.44
XYZ7.26503.579325.8992
Yxy3.57930.19770.0974
Hunter Lab18.919035.4365-67.9217
CIE-Lab22.228847.4160-58.0075

#40158e color RGB value is (64,21,142).

#40158e hex color red value is 64, green value is 21 and the blue value of its RGB is 142. Cylindrical-coordinate representations (also known as HSL) of color #40158e hue: 0.73 , saturation: 0.74 and the lightness value of 40158e is 0.32.

The process color (four color CMYK) of #40158e color hex is 0.55, 0.85, 0.00, 0.44. Web safe color of #40158e is #330099. Color #40158e contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 01000000 00010101 10001110
Octal 100 25 216
Decimal 64 21 142
Hex 40 15 8E

RGB Percentages of Color #40158e

%28.19
%9.25
%62.56

CMYK Percentages of Color #40158e

%55
%85
%0
%44

Triadic Colors of #40158e

#40158e #8e4015 #158e40

Analogous Colors of #40158e

#40158e #7d158e #15268e

Monochromatic Colors of #40158e

#40158e

Complementary Color

#40158e #638e15

#40158e Color Preview on Black Background

Lorem ipsum dolor sit amet.

#40158e Color Preview on White Background

Lorem ipsum dolor sit amet.

#40158e Color CSS Codes

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

#40158e Text Font Color

<p style="color:#40158e">Text here</p>

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


#40158e Background Color

<div style="background-color:#40158e">
Div content here</div>

This div background color is #40158e


#40158e Border Color

<div style="border:3px solid #40158e">
Div here</div>

This div border color is #40158e


Css3 Examples

.textShadowRgb {
  text-shadow: 4px 4px 2px rgba(64,21,142, 0.8); } 
.textShadowHex { 
  text-shadow: 4px 4px 2px #40158e; }
.divShadow { 
  -moz-box-shadow: 1px 1px 3px 2px #40158e;
  -webkit-box-shadow: 1px 1px 3px 2px #40158e;
  box-shadow:         1px 1px 3px 2px #40158e; }

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #40158e


Comments

No comments written yet.

Please login to write comment.