Color Hex Logo

#5157ab Color Hex

#5157AB
(81,87,171)
0 Favorites   0 Comments

Color spaces of #5157ab

RGB 8187171
HSL0.660.360.49
HSV236°53°67°
CMYK 0.530.490.00   0.33
XYZ14.152211.506040.0031
Yxy11.50600.21550.1752
Hunter Lab33.920515.1123-46.1775
CIE-Lab40.420021.8223-45.9676

#5157ab color RGB value is (81,87,171).

#5157ab hex color red value is 81, green value is 87 and the blue value of its RGB is 171. Cylindrical-coordinate representations (also known as HSL) of color #5157ab hue: 0.66 , saturation: 0.36 and the lightness value of 5157ab is 0.49.

The process color (four color CMYK) of #5157ab color hex is 0.53, 0.49, 0.00, 0.33. Web safe color of #5157ab is #666699. Color #5157ab contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 01010001 01010111 10101011
Octal 121 127 253
Decimal 81 87 171
Hex 51 57 AB

RGB Percentages of Color #5157ab

%23.89
%25.66
%50.44

CMYK Percentages of Color #5157ab

%53
%49
%0
%33

Triadic Colors of #5157ab

#5157ab #ab5157 #57ab51

Analogous Colors of #5157ab

#5157ab #7851ab #5184ab

Monochromatic Colors of #5157ab

#5157ab

Complementary Color

#5157ab #aba551

#5157ab Color Preview on Black Background

Lorem ipsum dolor sit amet.

#5157ab Color Preview on White Background

Lorem ipsum dolor sit amet.

#5157ab Color CSS Codes

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

#5157ab Text Font Color

<p style="color:#5157ab">Text here</p>

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


#5157ab Background Color

<div style="background-color:#5157ab">
Div content here</div>

This div background color is #5157ab


#5157ab Border Color

<div style="border:3px solid #5157ab">
Div here</div>

This div border color is #5157ab


Css3 Examples

.textShadowRgb {
  text-shadow: 4px 4px 2px rgba(81,87,171, 0.8); } 
.textShadowHex { 
  text-shadow: 4px 4px 2px #5157ab; }
.divShadow { 
  -moz-box-shadow: 1px 1px 3px 2px #5157ab;
  -webkit-box-shadow: 1px 1px 3px 2px #5157ab;
  box-shadow:         1px 1px 3px 2px #5157ab; }

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #5157ab


Comments

No comments written yet.

Please login to write comment.