Color Hex Logo

#540ca5 Color Hex

#540CA5
(84,12,165)
0 Favorites   0 Comments

Color spaces of #540ca5

RGB 8412165
HSL0.750.860.35
HSV268°93°65°
CMYK 0.490.930.00   0.35
XYZ10.57924.864435.9786
Yxy4.86440.20570.0946
Hunter Lab22.055447.0233-81.2801
CIE-Lab26.344957.9935-65.2605

#540ca5 color RGB value is (84,12,165).

#540ca5 hex color red value is 84, green value is 12 and the blue value of its RGB is 165. Cylindrical-coordinate representations (also known as HSL) of color #540ca5 hue: 0.75 , saturation: 0.86 and the lightness value of 540ca5 is 0.35.

The process color (four color CMYK) of #540ca5 color hex is 0.49, 0.93, 0.00, 0.35. Web safe color of #540ca5 is #660099. Color #540ca5 contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 01010100 00001100 10100101
Octal 124 14 245
Decimal 84 12 165
Hex 54 C A5

RGB Percentages of Color #540ca5

%32.18
%4.60
%63.22

CMYK Percentages of Color #540ca5

%49
%93
%0
%35

Triadic Colors of #540ca5

#540ca5 #a5540c #0ca554

Analogous Colors of #540ca5

#540ca5 #a10ca5 #0c10a5

Monochromatic Colors of #540ca5

#540ca5

Complementary Color

#540ca5 #5da50c

#540ca5 Color Preview on Black Background

Lorem ipsum dolor sit amet.

#540ca5 Color Preview on White Background

Lorem ipsum dolor sit amet.

#540ca5 Color CSS Codes

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

#540ca5 Text Font Color

<p style="color:#540ca5">Text here</p>

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


#540ca5 Background Color

<div style="background-color:#540ca5">
Div content here</div>

This div background color is #540ca5


#540ca5 Border Color

<div style="border:3px solid #540ca5">
Div here</div>

This div border color is #540ca5


Css3 Examples

.textShadowRgb {
  text-shadow: 4px 4px 2px rgba(84,12,165, 0.8); } 
.textShadowHex { 
  text-shadow: 4px 4px 2px #540ca5; }
.divShadow { 
  -moz-box-shadow: 1px 1px 3px 2px #540ca5;
  -webkit-box-shadow: 1px 1px 3px 2px #540ca5;
  box-shadow:         1px 1px 3px 2px #540ca5; }

Text Shadow with RGB Values

<p style="text-shadow: 4px 4px 2px rgba(84,12,165, 0.8);">Text here</p>

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #540ca5


Comments

No comments written yet.

Please login to write comment.