Color Hex Logo

#512a9f Color Hex

#512A9F
(81,42,159)
0 Favorites   0 Comments

Color spaces of #512a9f

RGB 8142159
HSL0.720.580.39
HSV260°74°62°
CMYK 0.490.740.00   0.38
XYZ10.47935.908533.3890
Yxy5.90850.21050.1187
Hunter Lab24.307434.4162-64.4264
CIE-Lab29.180445.0119-56.9714

#512a9f color RGB value is (81,42,159).

#512a9f hex color red value is 81, green value is 42 and the blue value of its RGB is 159. Cylindrical-coordinate representations (also known as HSL) of color #512a9f hue: 0.72 , saturation: 0.58 and the lightness value of 512a9f is 0.39.

The process color (four color CMYK) of #512a9f color hex is 0.49, 0.74, 0.00, 0.38. Web safe color of #512a9f is #663399. Color #512a9f contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 01010001 00101010 10011111
Octal 121 52 237
Decimal 81 42 159
Hex 51 2A 9F

RGB Percentages of Color #512a9f

%28.72
%14.89
%56.38

CMYK Percentages of Color #512a9f

%49
%74
%0
%38

Triadic Colors of #512a9f

#512a9f #9f512a #2a9f51

Analogous Colors of #512a9f

#512a9f #8c2a9f #2a3e9f

Monochromatic Colors of #512a9f

#512a9f

Complementary Color

#512a9f #789f2a

#512a9f Color Preview on Black Background

Lorem ipsum dolor sit amet.

#512a9f Color Preview on White Background

Lorem ipsum dolor sit amet.

#512a9f Color CSS Codes

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

#512a9f Text Font Color

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

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


#512a9f Background Color

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

This div background color is #512a9f


#512a9f Border Color

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

This div border color is #512a9f


Css3 Examples

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

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #512a9f


Comments

No comments written yet.

Please login to write comment.