Color Hex Logo

#540042 Color Hex

#540042
(84,0,66)
0 Favorites   0 Comments

Color spaces of #540042

RGB 84066
HSL0.871.000.16
HSV313°100°33°
CMYK 0.001.000.21   0.67
XYZ4.63952.27825.3495
Yxy2.27820.37820.1857
Hunter Lab15.093728.4533-10.4479
CIE-Lab16.884340.9892-16.5541

#540042 color RGB value is (84,0,66).

#540042 hex color red value is 84, green value is 0 and the blue value of its RGB is 66. Cylindrical-coordinate representations (also known as HSL) of color #540042 hue: 0.87 , saturation: 1.00 and the lightness value of 540042 is 0.16.

The process color (four color CMYK) of #540042 color hex is 0.00, 1.00, 0.21, 0.67. Web safe color of #540042 is #660033. Color #540042 contains mainly RED color.

Base Numbers

BaseRedGreenBlue
Binary 01010100 00000000 01000010
Octal 124 0 102
Decimal 84 0 66
Hex 54 0 42

RGB Percentages of Color #540042

%56.00
%0.00
%44.00

CMYK Percentages of Color #540042

%0
%100
%21
%67

Triadic Colors of #540042

#540042 #425400 #004254

Analogous Colors of #540042

#540042 #540018 #3c0054

Monochromatic Colors of #540042

#540042

Complementary Color

#540042 #005412

#540042 Color Preview on Black Background

Lorem ipsum dolor sit amet.

#540042 Color Preview on White Background

Lorem ipsum dolor sit amet.

#540042 Color CSS Codes

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

#540042 Text Font Color

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

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


#540042 Background Color

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

This div background color is #540042


#540042 Border Color

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

This div border color is #540042


Css3 Examples

.textShadowRgb {
  text-shadow: 4px 4px 2px rgba(84,0,66, 0.8); } 
.textShadowHex { 
  text-shadow: 4px 4px 2px #540042; }
.divShadow { 
  -moz-box-shadow: 1px 1px 3px 2px #540042;
  -webkit-box-shadow: 1px 1px 3px 2px #540042;
  box-shadow:         1px 1px 3px 2px #540042; }

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #540042


Comments

No comments written yet.

Please login to write comment.