Color Hex Logo

#512a7f Color Hex

#512A7F
(81,42,127)
0 Favorites   0 Comments

Color spaces of #512a7f

RGB 8142127
HSL0.740.500.33
HSV268°67°50°
CMYK 0.360.670.00   0.50
XYZ8.05214.937620.6073
Yxy4.93760.23970.1470
Hunter Lab22.220725.7966-39.4305
CIE-Lab26.556236.1652-41.4558

#512a7f color RGB value is (81,42,127).

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

The process color (four color CMYK) of #512a7f color hex is 0.36, 0.67, 0.00, 0.50. Web safe color of #512a7f is #663366. Color #512a7f contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 01010001 00101010 01111111
Octal 121 52 177
Decimal 81 42 127
Hex 51 2A 7F

RGB Percentages of Color #512a7f

%32.40
%16.80
%50.80

CMYK Percentages of Color #512a7f

%36
%67
%0
%50

Triadic Colors of #512a7f

#512a7f #7f512a #2a7f51

Analogous Colors of #512a7f

#512a7f #7c2a7f #2a2e7f

Monochromatic Colors of #512a7f

#512a7f

Complementary Color

#512a7f #587f2a

#512a7f Color Preview on Black Background

Lorem ipsum dolor sit amet.

#512a7f Color Preview on White Background

Lorem ipsum dolor sit amet.

#512a7f Color CSS Codes

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

#512a7f Text Font Color

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

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


#512a7f Background Color

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

This div background color is #512a7f


#512a7f Border Color

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

This div border color is #512a7f


Css3 Examples

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

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #512a7f


Comments

No comments written yet.

Please login to write comment.