Color Hex Logo

#1f158b Color Hex

#1F158B
(31,21,139)
0 Favorites   0 Comments

Color spaces of #1f158b

RGB 3121139
HSL0.680.740.31
HSV245°85°55°
CMYK 0.780.850.00   0.45
XYZ5.49342.691724.6561
Yxy2.69170.16730.0820
Hunter Lab16.406431.0564-77.6186
CIE-Lab18.764343.4713-61.9656

#1f158b color RGB value is (31,21,139).

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

The process color (four color CMYK) of #1f158b color hex is 0.78, 0.85, 0.00, 0.45. Web safe color of #1f158b is #330099. Color #1f158b contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 00011111 00010101 10001011
Octal 37 25 213
Decimal 31 21 139
Hex 1F 15 8B

RGB Percentages of Color #1f158b

%16.23
%10.99
%72.77

CMYK Percentages of Color #1f158b

%78
%85
%0
%45

Triadic Colors of #1f158b

#1f158b #8b1f15 #158b1f

Analogous Colors of #1f158b

#1f158b #5a158b #15468b

Monochromatic Colors of #1f158b

#1f158b

Complementary Color

#1f158b #818b15

#1f158b Color Preview on Black Background

Lorem ipsum dolor sit amet.

#1f158b Color Preview on White Background

Lorem ipsum dolor sit amet.

#1f158b Color CSS Codes

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

#1f158b Text Font Color

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

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


#1f158b Background Color

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

This div background color is #1f158b


#1f158b Border Color

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

This div border color is #1f158b


Css3 Examples

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

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #1f158b


Comments

No comments written yet.

Please login to write comment.