Color Hex Logo

#542ac6 Color Hex

#542AC6
(84,42,198)
0 Favorites   0 Comments

Color spaces of #542ac6

RGB 8442198
HSL0.710.650.47
HSV256°79°78°
CMYK 0.580.790.00   0.22
XYZ14.67727.618054.1229
Yxy7.61800.19210.0997
Hunter Lab27.600746.6194-96.9426
CIE-Lab33.174356.2908-73.6465

#542ac6 color RGB value is (84,42,198).

#542ac6 hex color red value is 84, green value is 42 and the blue value of its RGB is 198. Cylindrical-coordinate representations (also known as HSL) of color #542ac6 hue: 0.71 , saturation: 0.65 and the lightness value of 542ac6 is 0.47.

The process color (four color CMYK) of #542ac6 color hex is 0.58, 0.79, 0.00, 0.22. Web safe color of #542ac6 is #6633cc. Color #542ac6 contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 01010100 00101010 11000110
Octal 124 52 306
Decimal 84 42 198
Hex 54 2A C6

RGB Percentages of Color #542ac6

%25.93
%12.96
%61.11

CMYK Percentages of Color #542ac6

%58
%79
%0
%22

Triadic Colors of #542ac6

#542ac6 #c6542a #2ac654

Analogous Colors of #542ac6

#542ac6 #a22ac6 #2a4ec6

Monochromatic Colors of #542ac6

#542ac6

Complementary Color

#542ac6 #9cc62a

#542ac6 Color Preview on Black Background

Lorem ipsum dolor sit amet.

#542ac6 Color Preview on White Background

Lorem ipsum dolor sit amet.

#542ac6 Color CSS Codes

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

#542ac6 Text Font Color

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

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


#542ac6 Background Color

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

This div background color is #542ac6


#542ac6 Border Color

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

This div border color is #542ac6


Css3 Examples

.textShadowRgb {
  text-shadow: 4px 4px 2px rgba(84,42,198, 0.8); } 
.textShadowHex { 
  text-shadow: 4px 4px 2px #542ac6; }
.divShadow { 
  -moz-box-shadow: 1px 1px 3px 2px #542ac6;
  -webkit-box-shadow: 1px 1px 3px 2px #542ac6;
  box-shadow:         1px 1px 3px 2px #542ac6; }

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #542ac6


Comments

No comments written yet.

Please login to write comment.