Color Hex Logo

#540cad Color Hex

#540CAD
(84,12,173)
0 Favorites   0 Comments

Color spaces of #540cad

RGB 8412173
HSL0.740.870.36
HSV267°93°68°
CMYK 0.510.930.00   0.32
XYZ11.33055.164939.9349
Yxy5.16490.20080.0915
Hunter Lab22.726449.2219-88.2760
CIE-Lab27.199559.8737-68.6800

#540cad color RGB value is (84,12,173).

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

The process color (four color CMYK) of #540cad color hex is 0.51, 0.93, 0.00, 0.32. Web safe color of #540cad is #660099. Color #540cad contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 01010100 00001100 10101101
Octal 124 14 255
Decimal 84 12 173
Hex 54 C AD

RGB Percentages of Color #540cad

%31.23
%4.46
%64.31

CMYK Percentages of Color #540cad

%51
%93
%0
%32

Triadic Colors of #540cad

#540cad #ad540c #0cad54

Analogous Colors of #540cad

#540cad #a50cad #0c14ad

Monochromatic Colors of #540cad

#540cad

Complementary Color

#540cad #65ad0c

#540cad Color Preview on Black Background

Lorem ipsum dolor sit amet.

#540cad Color Preview on White Background

Lorem ipsum dolor sit amet.

#540cad Color CSS Codes

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

#540cad Text Font Color

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

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


#540cad Background Color

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

This div background color is #540cad


#540cad Border Color

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

This div border color is #540cad


Css3 Examples

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

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #540cad


Comments

No comments written yet.

Please login to write comment.