Color Hex Logo

#31157c Color Hex

#31157C
(49,21,124)
0 Favorites   0 Comments

Color spaces of #31157c

RGB 4921124
HSL0.710.710.28
HSV256°83°49°
CMYK 0.600.830.00   0.51
XYZ5.17292.644519.3066
Yxy2.64450.19070.0975
Hunter Lab16.261928.3223-59.0074
CIE-Lab18.559940.5172-52.7740

#31157c color RGB value is (49,21,124).

#31157c hex color red value is 49, green value is 21 and the blue value of its RGB is 124. Cylindrical-coordinate representations (also known as HSL) of color #31157c hue: 0.71 , saturation: 0.71 and the lightness value of 31157c is 0.28.

The process color (four color CMYK) of #31157c color hex is 0.60, 0.83, 0.00, 0.51. Web safe color of #31157c is #330066. Color #31157c contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 00110001 00010101 01111100
Octal 61 25 174
Decimal 49 21 124
Hex 31 15 7C

RGB Percentages of Color #31157c

%25.26
%10.82
%63.92

CMYK Percentages of Color #31157c

%60
%83
%0
%51

Triadic Colors of #31157c

#31157c #7c3115 #157c31

Analogous Colors of #31157c

#31157c #65157c #152d7c

Monochromatic Colors of #31157c

#31157c

Complementary Color

#31157c #607c15

#31157c Color Preview on Black Background

Lorem ipsum dolor sit amet.

#31157c Color Preview on White Background

Lorem ipsum dolor sit amet.

#31157c Color CSS Codes

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

#31157c Text Font Color

<p style="color:#31157c">Text here</p>

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


#31157c Background Color

<div style="background-color:#31157c">
Div content here</div>

This div background color is #31157c


#31157c Border Color

<div style="border:3px solid #31157c">
Div here</div>

This div border color is #31157c


Css3 Examples

.textShadowRgb {
  text-shadow: 4px 4px 2px rgba(49,21,124, 0.8); } 
.textShadowHex { 
  text-shadow: 4px 4px 2px #31157c; }
.divShadow { 
  -moz-box-shadow: 1px 1px 3px 2px #31157c;
  -webkit-box-shadow: 1px 1px 3px 2px #31157c;
  box-shadow:         1px 1px 3px 2px #31157c; }

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #31157c


Comments

No comments written yet.

Please login to write comment.