Color Hex Logo

#1f178a Color Hex

#1F178A
(31,23,138)
0 Favorites   0 Comments

Color spaces of #1f178a

RGB 3123138
HSL0.680.710.32
HSV244°83°54°
CMYK 0.780.830.00   0.46
XYZ5.45892.739124.2857
Yxy2.73910.16810.0843
Hunter Lab16.550229.9133-75.4166
CIE-Lab18.967242.1912-61.0023

#1f178a color RGB value is (31,23,138).

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

The process color (four color CMYK) of #1f178a color hex is 0.78, 0.83, 0.00, 0.46. Web safe color of #1f178a is #330099. Color #1f178a contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 00011111 00010111 10001010
Octal 37 27 212
Decimal 31 23 138
Hex 1F 17 8A

RGB Percentages of Color #1f178a

%16.15
%11.98
%71.88

CMYK Percentages of Color #1f178a

%78
%83
%0
%46

Triadic Colors of #1f178a

#1f178a #8a1f17 #178a1f

Analogous Colors of #1f178a

#1f178a #59178a #17488a

Monochromatic Colors of #1f178a

#1f178a

Complementary Color

#1f178a #828a17

#1f178a Color Preview on Black Background

Lorem ipsum dolor sit amet.

#1f178a Color Preview on White Background

Lorem ipsum dolor sit amet.

#1f178a Color CSS Codes

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

#1f178a Text Font Color

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

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


#1f178a Background Color

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

This div background color is #1f178a


#1f178a Border Color

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

This div border color is #1f178a


Css3 Examples

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

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #1f178a


Comments

No comments written yet.

Please login to write comment.