Color Hex Logo

#51158b Color Hex

#51158B
(81,21,139)
0 Favorites   0 Comments

Color spaces of #51158b

RGB 8121139
HSL0.750.740.31
HSV271°85°55°
CMYK 0.420.850.00   0.45
XYZ8.32174.149724.7885
Yxy4.14970.22330.1114
Hunter Lab20.370837.2703-57.8883
CIE-Lab24.160348.9165-52.8800

#51158b color RGB value is (81,21,139).

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

The process color (four color CMYK) of #51158b color hex is 0.42, 0.85, 0.00, 0.45. Web safe color of #51158b is #660099. Color #51158b contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 01010001 00010101 10001011
Octal 121 25 213
Decimal 81 21 139
Hex 51 15 8B

RGB Percentages of Color #51158b

%33.61
%8.71
%57.68

CMYK Percentages of Color #51158b

%42
%85
%0
%45

Triadic Colors of #51158b

#51158b #8b5115 #158b51

Analogous Colors of #51158b

#51158b #8b158a #16158b

Monochromatic Colors of #51158b

#51158b

Complementary Color

#51158b #4f8b15

#51158b Color Preview on Black Background

Lorem ipsum dolor sit amet.

#51158b Color Preview on White Background

Lorem ipsum dolor sit amet.

#51158b Color CSS Codes

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

#51158b Text Font Color

<p style="color:#51158b">Text here</p>

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


#51158b Background Color

<div style="background-color:#51158b">
Div content here</div>

This div background color is #51158b


#51158b Border Color

<div style="border:3px solid #51158b">
Div here</div>

This div border color is #51158b


Css3 Examples

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

Text Shadow with RGB Values

<p style="text-shadow: 4px 4px 2px rgba(81,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 #51158b">Text here</p>

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #51158b


Comments

No comments written yet.

Please login to write comment.