Color Hex Logo

#542d8c Color Hex

#542D8C
(84,45,140)
0 Favorites   0 Comments

Color spaces of #542d8c

RGB 8445140
HSL0.740.510.36
HSV265°68°55°
CMYK 0.400.680.00   0.45
XYZ9.32825.655025.4108
Yxy5.65500.23090.1400
Hunter Lab23.780228.4042-46.7092
CIE-Lab28.524838.7166-46.3684

#542d8c color RGB value is (84,45,140).

#542d8c hex color red value is 84, green value is 45 and the blue value of its RGB is 140. Cylindrical-coordinate representations (also known as HSL) of color #542d8c hue: 0.74 , saturation: 0.51 and the lightness value of 542d8c is 0.36.

The process color (four color CMYK) of #542d8c color hex is 0.40, 0.68, 0.00, 0.45. Web safe color of #542d8c is #663399. Color #542d8c contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 01010100 00101101 10001100
Octal 124 55 214
Decimal 84 45 140
Hex 54 2D 8C

RGB Percentages of Color #542d8c

%31.23
%16.73
%52.04

CMYK Percentages of Color #542d8c

%40
%68
%0
%45

Triadic Colors of #542d8c

#542d8c #8c542d #2d8c54

Analogous Colors of #542d8c

#542d8c #842d8c #2d368c

Monochromatic Colors of #542d8c

#542d8c

Complementary Color

#542d8c #658c2d

#542d8c Color Preview on Black Background

Lorem ipsum dolor sit amet.

#542d8c Color Preview on White Background

Lorem ipsum dolor sit amet.

#542d8c Color CSS Codes

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

#542d8c Text Font Color

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

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


#542d8c Background Color

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

This div background color is #542d8c


#542d8c Border Color

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

This div border color is #542d8c


Css3 Examples

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

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #542d8c


Comments

No comments written yet.

Please login to write comment.