Color Hex Logo

#540cb1 Color Hex

#540CB1
(84,12,177)
0 Favorites   0 Comments

Color spaces of #540cb1

RGB 8412177
HSL0.740.870.37
HSV266°93°69°
CMYK 0.530.930.00   0.31
XYZ11.72345.322142.0043
Yxy5.32210.19850.0901
Hunter Lab23.069750.3370-91.8040
CIE-Lab27.633460.8156-70.3633

#540cb1 color RGB value is (84,12,177).

#540cb1 hex color red value is 84, green value is 12 and the blue value of its RGB is 177. Cylindrical-coordinate representations (also known as HSL) of color #540cb1 hue: 0.74 , saturation: 0.87 and the lightness value of 540cb1 is 0.37.

The process color (four color CMYK) of #540cb1 color hex is 0.53, 0.93, 0.00, 0.31. Web safe color of #540cb1 is #660099. Color #540cb1 contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 01010100 00001100 10110001
Octal 124 14 261
Decimal 84 12 177
Hex 54 C B1

RGB Percentages of Color #540cb1

%30.77
%4.40
%64.84

CMYK Percentages of Color #540cb1

%53
%93
%0
%31

Triadic Colors of #540cb1

#540cb1 #b1540c #0cb154

Analogous Colors of #540cb1

#540cb1 #a70cb1 #0c16b1

Monochromatic Colors of #540cb1

#540cb1

Complementary Color

#540cb1 #69b10c

#540cb1 Color Preview on Black Background

Lorem ipsum dolor sit amet.

#540cb1 Color Preview on White Background

Lorem ipsum dolor sit amet.

#540cb1 Color CSS Codes

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

#540cb1 Text Font Color

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

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


#540cb1 Background Color

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

This div background color is #540cb1


#540cb1 Border Color

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

This div border color is #540cb1


Css3 Examples

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

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #540cb1


Comments

No comments written yet.

Please login to write comment.