Color Hex Logo

#540caf Color Hex

#540CAF
(84,12,175)
0 Favorites   0 Comments

Color spaces of #540caf

RGB 8412175
HSL0.740.870.37
HSV267°93°69°
CMYK 0.520.930.00   0.31
XYZ11.52555.242940.9620
Yxy5.24290.19960.0908
Hunter Lab22.897449.7784-90.0380
CIE-Lab27.415960.3447-69.5239

#540caf color RGB value is (84,12,175).

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

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

Base Numbers

BaseRedGreenBlue
Binary 01010100 00001100 10101111
Octal 124 14 257
Decimal 84 12 175
Hex 54 C AF

RGB Percentages of Color #540caf

%31.00
%4.43
%64.58

CMYK Percentages of Color #540caf

%52
%93
%0
%31

Triadic Colors of #540caf

#540caf #af540c #0caf54

Analogous Colors of #540caf

#540caf #a60caf #0c15af

Monochromatic Colors of #540caf

#540caf

Complementary Color

#540caf #67af0c

#540caf Color Preview on Black Background

Lorem ipsum dolor sit amet.

#540caf Color Preview on White Background

Lorem ipsum dolor sit amet.

#540caf Color CSS Codes

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

#540caf Text Font Color

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

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


#540caf Background Color

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

This div background color is #540caf


#540caf Border Color

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

This div border color is #540caf


Css3 Examples

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

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #540caf


Comments

No comments written yet.

Please login to write comment.