Color Hex Logo

#540a9d Color Hex

#540A9D
(84,10,157)
0 Favorites   0 Comments

Color spaces of #540a9d

RGB 8410157
HSL0.750.880.33
HSV270°94°62°
CMYK 0.460.940.00   0.38
XYZ9.85054.536232.2547
Yxy4.53620.21120.0973
Hunter Lab21.298445.2842-74.8812
CIE-Lab25.370356.5402-61.9957

#540a9d color RGB value is (84,10,157).

#540a9d hex color red value is 84, green value is 10 and the blue value of its RGB is 157. Cylindrical-coordinate representations (also known as HSL) of color #540a9d hue: 0.75 , saturation: 0.88 and the lightness value of 540a9d is 0.33.

The process color (four color CMYK) of #540a9d color hex is 0.46, 0.94, 0.00, 0.38. Web safe color of #540a9d is #660099. Color #540a9d contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 01010100 00001010 10011101
Octal 124 12 235
Decimal 84 10 157
Hex 54 A 9D

RGB Percentages of Color #540a9d

%33.47
%3.98
%62.55

CMYK Percentages of Color #540a9d

%46
%94
%0
%38

Triadic Colors of #540a9d

#540a9d #9d540a #0a9d54

Analogous Colors of #540a9d

#540a9d #9d0a9d #0b0a9d

Monochromatic Colors of #540a9d

#540a9d

Complementary Color

#540a9d #539d0a

#540a9d Color Preview on Black Background

Lorem ipsum dolor sit amet.

#540a9d Color Preview on White Background

Lorem ipsum dolor sit amet.

#540a9d Color CSS Codes

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

#540a9d Text Font Color

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

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


#540a9d Background Color

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

This div background color is #540a9d


#540a9d Border Color

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

This div border color is #540a9d


Css3 Examples

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

Text Shadow with RGB Values

<p style="text-shadow: 4px 4px 2px rgba(84,10,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 #540a9d">Text here</p>

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #540a9d


Comments

No comments written yet.

Please login to write comment.