Color Hex Logo

#40157f Color Hex

#40157F
(64,21,127)
0 Favorites   0 Comments

Color spaces of #40157f

RGB 6421127
HSL0.730.720.29
HSV264°83°50°
CMYK 0.500.830.00   0.50
XYZ6.21333.158620.3609
Yxy3.15860.20900.1062
Hunter Lab17.772531.3023-55.4845
CIE-Lab20.668243.3653-51.1481

#40157f color RGB value is (64,21,127).

#40157f hex color red value is 64, green value is 21 and the blue value of its RGB is 127. Cylindrical-coordinate representations (also known as HSL) of color #40157f hue: 0.73 , saturation: 0.72 and the lightness value of 40157f is 0.29.

The process color (four color CMYK) of #40157f color hex is 0.50, 0.83, 0.00, 0.50. Web safe color of #40157f is #330066. Color #40157f contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 01000000 00010101 01111111
Octal 100 25 177
Decimal 64 21 127
Hex 40 15 7F

RGB Percentages of Color #40157f

%30.19
%9.91
%59.91

CMYK Percentages of Color #40157f

%50
%83
%0
%50

Triadic Colors of #40157f

#40157f #7f4015 #157f40

Analogous Colors of #40157f

#40157f #75157f #151f7f

Monochromatic Colors of #40157f

#40157f

Complementary Color

#40157f #547f15

#40157f Color Preview on Black Background

Lorem ipsum dolor sit amet.

#40157f Color Preview on White Background

Lorem ipsum dolor sit amet.

#40157f Color CSS Codes

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

#40157f Text Font Color

<p style="color:#40157f">Text here</p>

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


#40157f Background Color

<div style="background-color:#40157f">
Div content here</div>

This div background color is #40157f


#40157f Border Color

<div style="border:3px solid #40157f">
Div here</div>

This div border color is #40157f


Css3 Examples

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

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #40157f


Comments

No comments written yet.

Please login to write comment.