Color Hex Logo

#542fab Color Hex

#542FAB
(84,47,171)
0 Favorites   0 Comments

Color spaces of #542fab

RGB 8447171
HSL0.720.570.43
HSV258°73°67°
CMYK 0.510.730.00   0.33
XYZ12.02346.858139.2181
Yxy6.85810.20690.1180
Hunter Lab26.188036.1238-70.4588
CIE-Lab31.481746.3334-60.4353

#542fab color RGB value is (84,47,171).

#542fab hex color red value is 84, green value is 47 and the blue value of its RGB is 171. Cylindrical-coordinate representations (also known as HSL) of color #542fab hue: 0.72 , saturation: 0.57 and the lightness value of 542fab is 0.43.

The process color (four color CMYK) of #542fab color hex is 0.51, 0.73, 0.00, 0.33. Web safe color of #542fab is #663399. Color #542fab contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 01010100 00101111 10101011
Octal 124 57 253
Decimal 84 47 171
Hex 54 2F AB

RGB Percentages of Color #542fab

%27.81
%15.56
%56.62

CMYK Percentages of Color #542fab

%51
%73
%0
%33

Triadic Colors of #542fab

#542fab #ab542f #2fab54

Analogous Colors of #542fab

#542fab #922fab #2f48ab

Monochromatic Colors of #542fab

#542fab

Complementary Color

#542fab #86ab2f

#542fab Color Preview on Black Background

Lorem ipsum dolor sit amet.

#542fab Color Preview on White Background

Lorem ipsum dolor sit amet.

#542fab Color CSS Codes

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

#542fab Text Font Color

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

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


#542fab Background Color

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

This div background color is #542fab


#542fab Border Color

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

This div border color is #542fab


Css3 Examples

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

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #542fab


Comments

No comments written yet.

Please login to write comment.