Color Hex Logo

#540497 Color Hex

#540497
(84,4,151)
0 Favorites   0 Comments

Color spaces of #540497

RGB 844151
HSL0.760.950.30
HSV273°97°59°
CMYK 0.440.970.00   0.41
XYZ9.28554.206029.6006
Yxy4.20600.21550.0976
Hunter Lab20.508544.9282-71.2191
CIE-Lab24.341156.3974-60.0081

#540497 color RGB value is (84,4,151).

#540497 hex color red value is 84, green value is 4 and the blue value of its RGB is 151. Cylindrical-coordinate representations (also known as HSL) of color #540497 hue: 0.76 , saturation: 0.95 and the lightness value of 540497 is 0.30.

The process color (four color CMYK) of #540497 color hex is 0.44, 0.97, 0.00, 0.41. Web safe color of #540497 is #660099. Color #540497 contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 01010100 00000100 10010111
Octal 124 4 227
Decimal 84 4 151
Hex 54 4 97

RGB Percentages of Color #540497

%35.15
%1.67
%63.18

CMYK Percentages of Color #540497

%44
%97
%0
%41

Triadic Colors of #540497

#540497 #975404 #049754

Analogous Colors of #540497

#540497 #970491 #0a0497

Monochromatic Colors of #540497

#540497

Complementary Color

#540497 #479704

#540497 Color Preview on Black Background

Lorem ipsum dolor sit amet.

#540497 Color Preview on White Background

Lorem ipsum dolor sit amet.

#540497 Color CSS Codes

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

#540497 Text Font Color

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

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


#540497 Background Color

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

This div background color is #540497


#540497 Border Color

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

This div border color is #540497


Css3 Examples

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

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #540497


Comments

No comments written yet.

Please login to write comment.