Color Hex Logo

#1f157e Color Hex

#1F157E
(31,21,126)
0 Favorites   0 Comments

Color spaces of #1f157e

RGB 3121126
HSL0.680.710.29
HSV246°83°49°
CMYK 0.750.830.00   0.51
XYZ4.59912.334019.9468
Yxy2.33400.17110.0868
Hunter Lab15.277426.9999-66.7171
CIE-Lab17.150639.3093-56.4323

#1f157e color RGB value is (31,21,126).

#1f157e hex color red value is 31, green value is 21 and the blue value of its RGB is 126. Cylindrical-coordinate representations (also known as HSL) of color #1f157e hue: 0.68 , saturation: 0.71 and the lightness value of 1f157e is 0.29.

The process color (four color CMYK) of #1f157e color hex is 0.75, 0.83, 0.00, 0.51. Web safe color of #1f157e is #330066. Color #1f157e contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 00011111 00010101 01111110
Octal 37 25 176
Decimal 31 21 126
Hex 1F 15 7E

RGB Percentages of Color #1f157e

%17.42
%11.80
%70.79

CMYK Percentages of Color #1f157e

%75
%83
%0
%51

Triadic Colors of #1f157e

#1f157e #7e1f15 #157e1f

Analogous Colors of #1f157e

#1f157e #53157e #15407e

Monochromatic Colors of #1f157e

#1f157e

Complementary Color

#1f157e #747e15

#1f157e Color Preview on Black Background

Lorem ipsum dolor sit amet.

#1f157e Color Preview on White Background

Lorem ipsum dolor sit amet.

#1f157e Color CSS Codes

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

#1f157e Text Font Color

<p style="color:#1f157e">Text here</p>

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


#1f157e Background Color

<div style="background-color:#1f157e">
Div content here</div>

This div background color is #1f157e


#1f157e Border Color

<div style="border:3px solid #1f157e">
Div here</div>

This div border color is #1f157e


Css3 Examples

.textShadowRgb {
  text-shadow: 4px 4px 2px rgba(31,21,126, 0.8); } 
.textShadowHex { 
  text-shadow: 4px 4px 2px #1f157e; }
.divShadow { 
  -moz-box-shadow: 1px 1px 3px 2px #1f157e;
  -webkit-box-shadow: 1px 1px 3px 2px #1f157e;
  box-shadow:         1px 1px 3px 2px #1f157e; }

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #1f157e


Comments

No comments written yet.

Please login to write comment.