Color Hex Logo

#31158e Color Hex

#31158E
(49,21,142)
0 Favorites   0 Comments

Color spaces of #31158e

RGB 4921142
HSL0.710.740.32
HSV254°85°56°
CMYK 0.650.850.00   0.44
XYZ6.41733.142325.8595
Yxy3.14230.18120.0887
Hunter Lab17.726533.5985-74.0838
CIE-Lab20.605045.8183-60.7438

#31158e color RGB value is (49,21,142).

#31158e hex color red value is 49, green value is 21 and the blue value of its RGB is 142. Cylindrical-coordinate representations (also known as HSL) of color #31158e hue: 0.71 , saturation: 0.74 and the lightness value of 31158e is 0.32.

The process color (four color CMYK) of #31158e color hex is 0.65, 0.85, 0.00, 0.44. Web safe color of #31158e is #330099. Color #31158e contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 00110001 00010101 10001110
Octal 61 25 216
Decimal 49 21 142
Hex 31 15 8E

RGB Percentages of Color #31158e

%23.11
%9.91
%66.98

CMYK Percentages of Color #31158e

%65
%85
%0
%44

Triadic Colors of #31158e

#31158e #8e3115 #158e31

Analogous Colors of #31158e

#31158e #6e158e #15358e

Monochromatic Colors of #31158e

#31158e

Complementary Color

#31158e #728e15

#31158e Color Preview on Black Background

Lorem ipsum dolor sit amet.

#31158e Color Preview on White Background

Lorem ipsum dolor sit amet.

#31158e Color CSS Codes

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

#31158e Text Font Color

<p style="color:#31158e">Text here</p>

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


#31158e Background Color

<div style="background-color:#31158e">
Div content here</div>

This div background color is #31158e


#31158e Border Color

<div style="border:3px solid #31158e">
Div here</div>

This div border color is #31158e


Css3 Examples

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

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #31158e


Comments

No comments written yet.

Please login to write comment.