Color Hex Logo

#5a157c Color Hex

#5A157C
(90,21,124)
0 Favorites   0 Comments

Color spaces of #5a157c

RGB 9021124
HSL0.780.710.28
HSV280°83°49°
CMYK 0.270.830.00   0.51
XYZ8.12274.165219.4446
Yxy4.16520.25600.1313
Hunter Lab20.408835.3275-42.2026
CIE-Lab24.210246.9172-43.2991

#5a157c color RGB value is (90,21,124).

#5a157c hex color red value is 90, green value is 21 and the blue value of its RGB is 124. Cylindrical-coordinate representations (also known as HSL) of color #5a157c hue: 0.78 , saturation: 0.71 and the lightness value of 5a157c is 0.28.

The process color (four color CMYK) of #5a157c color hex is 0.27, 0.83, 0.00, 0.51. Web safe color of #5a157c is #660066. Color #5a157c contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 01011010 00010101 01111100
Octal 132 25 174
Decimal 90 21 124
Hex 5A 15 7C

RGB Percentages of Color #5a157c

%38.30
%8.94
%52.77

CMYK Percentages of Color #5a157c

%27
%83
%0
%51

Triadic Colors of #5a157c

#5a157c #7c5a15 #157c5a

Analogous Colors of #5a157c

#5a157c #7c156b #27157c

Monochromatic Colors of #5a157c

#5a157c

Complementary Color

#5a157c #377c15

#5a157c Color Preview on Black Background

Lorem ipsum dolor sit amet.

#5a157c Color Preview on White Background

Lorem ipsum dolor sit amet.

#5a157c Color CSS Codes

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

#5a157c Text Font Color

<p style="color:#5a157c">Text here</p>

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


#5a157c Background Color

<div style="background-color:#5a157c">
Div content here</div>

This div background color is #5a157c


#5a157c Border Color

<div style="border:3px solid #5a157c">
Div here</div>

This div border color is #5a157c


Css3 Examples

.textShadowRgb {
  text-shadow: 4px 4px 2px rgba(90,21,124, 0.8); } 
.textShadowHex { 
  text-shadow: 4px 4px 2px #5a157c; }
.divShadow { 
  -moz-box-shadow: 1px 1px 3px 2px #5a157c;
  -webkit-box-shadow: 1px 1px 3px 2px #5a157c;
  box-shadow:         1px 1px 3px 2px #5a157c; }

Text Shadow with RGB Values

<p style="text-shadow: 4px 4px 2px rgba(90,21,124, 0.8);">Text here</p>

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #5a157c


Comments

No comments written yet.

Please login to write comment.