Color Hex Logo

#542ab4 Color Hex

#542AB4
(84,42,180)
0 Favorites   0 Comments

Color spaces of #542ab4

RGB 8442180
HSL0.720.620.44
HSV258°77°71°
CMYK 0.530.770.00   0.29
XYZ12.72236.836043.8290
Yxy6.83600.20070.1078
Hunter Lab26.145741.1015-81.0878
CIE-Lab31.430651.3255-65.8948

#542ab4 color RGB value is (84,42,180).

#542ab4 hex color red value is 84, green value is 42 and the blue value of its RGB is 180. Cylindrical-coordinate representations (also known as HSL) of color #542ab4 hue: 0.72 , saturation: 0.62 and the lightness value of 542ab4 is 0.44.

The process color (four color CMYK) of #542ab4 color hex is 0.53, 0.77, 0.00, 0.29. Web safe color of #542ab4 is #6633cc. Color #542ab4 contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 01010100 00101010 10110100
Octal 124 52 264
Decimal 84 42 180
Hex 54 2A B4

RGB Percentages of Color #542ab4

%27.45
%13.73
%58.82

CMYK Percentages of Color #542ab4

%53
%77
%0
%29

Triadic Colors of #542ab4

#542ab4 #b4542a #2ab454

Analogous Colors of #542ab4

#542ab4 #992ab4 #2a45b4

Monochromatic Colors of #542ab4

#542ab4

Complementary Color

#542ab4 #8ab42a

#542ab4 Color Preview on Black Background

Lorem ipsum dolor sit amet.

#542ab4 Color Preview on White Background

Lorem ipsum dolor sit amet.

#542ab4 Color CSS Codes

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

#542ab4 Text Font Color

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

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


#542ab4 Background Color

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

This div background color is #542ab4


#542ab4 Border Color

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

This div border color is #542ab4


Css3 Examples

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

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #542ab4


Comments

No comments written yet.

Please login to write comment.