Color Hex Logo

#5157d5 Color Hex

#5157D5
(81,87,213)
0 Favorites   0 Comments

Color spaces of #5157d5

RGB 8187213
HSL0.660.610.58
HSV237°62°84°
CMYK 0.620.590.00   0.16
XYZ18.811813.369864.5399
Yxy13.36980.19450.1382
Hunter Lab36.564727.8463-79.0566
CIE-Lab43.315235.7159-65.7363

#5157d5 color RGB value is (81,87,213).

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

The process color (four color CMYK) of #5157d5 color hex is 0.62, 0.59, 0.00, 0.16. Web safe color of #5157d5 is #6666cc. Color #5157d5 contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 01010001 01010111 11010101
Octal 121 127 325
Decimal 81 87 213
Hex 51 57 D5

RGB Percentages of Color #5157d5

%21.26
%22.83
%55.91

CMYK Percentages of Color #5157d5

%62
%59
%0
%16

Triadic Colors of #5157d5

#5157d5 #d55157 #57d551

Analogous Colors of #5157d5

#5157d5 #8d51d5 #5199d5

Monochromatic Colors of #5157d5

#5157d5

Complementary Color

#5157d5 #d5cf51

#5157d5 Color Preview on Black Background

Lorem ipsum dolor sit amet.

#5157d5 Color Preview on White Background

Lorem ipsum dolor sit amet.

#5157d5 Color CSS Codes

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

#5157d5 Text Font Color

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

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


#5157d5 Background Color

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

This div background color is #5157d5


#5157d5 Border Color

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

This div border color is #5157d5


Css3 Examples

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

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #5157d5


Comments

No comments written yet.

Please login to write comment.