Color Hex Logo

#540baf Color Hex

#540BAF
(84,11,175)
0 Favorites   0 Comments

Color spaces of #540baf

RGB 8411175
HSL0.740.880.36
HSV267°94°69°
CMYK 0.520.940.00   0.31
XYZ11.51375.219340.9580
Yxy5.21930.19960.0905
Hunter Lab22.845849.9794-90.3032
CIE-Lab27.350660.5414-69.6317

#540baf color RGB value is (84,11,175).

#540baf hex color red value is 84, green value is 11 and the blue value of its RGB is 175. Cylindrical-coordinate representations (also known as HSL) of color #540baf hue: 0.74 , saturation: 0.88 and the lightness value of 540baf is 0.36.

The process color (four color CMYK) of #540baf color hex is 0.52, 0.94, 0.00, 0.31. Web safe color of #540baf is #660099. Color #540baf contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 01010100 00001011 10101111
Octal 124 13 257
Decimal 84 11 175
Hex 54 B AF

RGB Percentages of Color #540baf

%31.11
%4.07
%64.81

CMYK Percentages of Color #540baf

%52
%94
%0
%31

Triadic Colors of #540baf

#540baf #af540b #0baf54

Analogous Colors of #540baf

#540baf #a60baf #0b14af

Monochromatic Colors of #540baf

#540baf

Complementary Color

#540baf #66af0b

#540baf Color Preview on Black Background

Lorem ipsum dolor sit amet.

#540baf Color Preview on White Background

Lorem ipsum dolor sit amet.

#540baf Color CSS Codes

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

#540baf Text Font Color

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

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


#540baf Background Color

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

This div background color is #540baf


#540baf Border Color

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

This div border color is #540baf


Css3 Examples

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

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #540baf


Comments

No comments written yet.

Please login to write comment.