Color Hex Logo

#512a87 Color Hex

#512A87
(81,42,135)
0 Favorites   0 Comments

Color spaces of #512a87

RGB 8142135
HSL0.740.530.35
HSV265°69°53°
CMYK 0.400.690.00   0.47
XYZ8.59455.154523.4636
Yxy5.15450.23100.1385
Hunter Lab22.703527.8406-45.3825
CIE-Lab27.170538.3417-45.4743

#512a87 color RGB value is (81,42,135).

#512a87 hex color red value is 81, green value is 42 and the blue value of its RGB is 135. Cylindrical-coordinate representations (also known as HSL) of color #512a87 hue: 0.74 , saturation: 0.53 and the lightness value of 512a87 is 0.35.

The process color (four color CMYK) of #512a87 color hex is 0.40, 0.69, 0.00, 0.47. Web safe color of #512a87 is #663399. Color #512a87 contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 01010001 00101010 10000111
Octal 121 52 207
Decimal 81 42 135
Hex 51 2A 87

RGB Percentages of Color #512a87

%31.40
%16.28
%52.33

CMYK Percentages of Color #512a87

%40
%69
%0
%47

Triadic Colors of #512a87

#512a87 #87512a #2a8751

Analogous Colors of #512a87

#512a87 #802a87 #2a3287

Monochromatic Colors of #512a87

#512a87

Complementary Color

#512a87 #60872a

#512a87 Color Preview on Black Background

Lorem ipsum dolor sit amet.

#512a87 Color Preview on White Background

Lorem ipsum dolor sit amet.

#512a87 Color CSS Codes

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

#512a87 Text Font Color

<p style="color:#512a87">Text here</p>

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


#512a87 Background Color

<div style="background-color:#512a87">
Div content here</div>

This div background color is #512a87


#512a87 Border Color

<div style="border:3px solid #512a87">
Div here</div>

This div border color is #512a87


Css3 Examples

.textShadowRgb {
  text-shadow: 4px 4px 2px rgba(81,42,135, 0.8); } 
.textShadowHex { 
  text-shadow: 4px 4px 2px #512a87; }
.divShadow { 
  -moz-box-shadow: 1px 1px 3px 2px #512a87;
  -webkit-box-shadow: 1px 1px 3px 2px #512a87;
  box-shadow:         1px 1px 3px 2px #512a87; }

Text Shadow with RGB Values

<p style="text-shadow: 4px 4px 2px rgba(81,42,135, 0.8);">Text here</p>

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #512a87


Comments

No comments written yet.

Please login to write comment.