Color Hex Logo

#542a9d Color Hex

#542A9D
(84,42,157)
0 Favorites   0 Comments

Color spaces of #542a9d

RGB 8442157
HSL0.730.580.39
HSV262°73°62°
CMYK 0.460.730.00   0.38
XYZ10.56995.975132.4945
Yxy5.97510.21550.1218
Hunter Lab24.444034.4086-61.7060
CIE-Lab29.349644.9719-55.4645

#542a9d color RGB value is (84,42,157).

#542a9d hex color red value is 84, green value is 42 and the blue value of its RGB is 157. Cylindrical-coordinate representations (also known as HSL) of color #542a9d hue: 0.73 , saturation: 0.58 and the lightness value of 542a9d is 0.39.

The process color (four color CMYK) of #542a9d color hex is 0.46, 0.73, 0.00, 0.38. Web safe color of #542a9d is #663399. Color #542a9d contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 01010100 00101010 10011101
Octal 124 52 235
Decimal 84 42 157
Hex 54 2A 9D

RGB Percentages of Color #542a9d

%29.68
%14.84
%55.48

CMYK Percentages of Color #542a9d

%46
%73
%0
%38

Triadic Colors of #542a9d

#542a9d #9d542a #2a9d54

Analogous Colors of #542a9d

#542a9d #8e2a9d #2a3a9d

Monochromatic Colors of #542a9d

#542a9d

Complementary Color

#542a9d #739d2a

#542a9d Color Preview on Black Background

Lorem ipsum dolor sit amet.

#542a9d Color Preview on White Background

Lorem ipsum dolor sit amet.

#542a9d Color CSS Codes

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

#542a9d Text Font Color

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

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


#542a9d Background Color

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

This div background color is #542a9d


#542a9d Border Color

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

This div border color is #542a9d


Css3 Examples

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

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #542a9d


Comments

No comments written yet.

Please login to write comment.