Color Hex Logo

#512a9a Color Hex

#512A9A
(81,42,154)
0 Favorites   0 Comments

Color spaces of #512a9a

RGB 8142154
HSL0.720.570.38
HSV261°73°60°
CMYK 0.470.730.00   0.40
XYZ10.05405.738431.1496
Yxy5.73840.21420.1222
Hunter Lab23.955032.9961-60.3287
CIE-Lab28.742643.6106-54.6409

#512a9a color RGB value is (81,42,154).

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

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

Base Numbers

BaseRedGreenBlue
Binary 01010001 00101010 10011010
Octal 121 52 232
Decimal 81 42 154
Hex 51 2A 9A

RGB Percentages of Color #512a9a

%29.24
%15.16
%55.60

CMYK Percentages of Color #512a9a

%47
%73
%0
%40

Triadic Colors of #512a9a

#512a9a #9a512a #2a9a51

Analogous Colors of #512a9a

#512a9a #892a9a #2a3b9a

Monochromatic Colors of #512a9a

#512a9a

Complementary Color

#512a9a #739a2a

#512a9a Color Preview on Black Background

Lorem ipsum dolor sit amet.

#512a9a Color Preview on White Background

Lorem ipsum dolor sit amet.

#512a9a Color CSS Codes

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

#512a9a Text Font Color

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

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


#512a9a Background Color

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

This div background color is #512a9a


#512a9a Border Color

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

This div border color is #512a9a


Css3 Examples

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

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #512a9a


Comments

No comments written yet.

Please login to write comment.