Color spaces of #540cac
RGB | 84 | 12 | 172 |
---|---|---|---|
HSL | 0.74 | 0.87 | 0.36 |
HSV | 267° | 93° | 67° |
CMYK | 0.51 | 0.93 | 0.00 0.33 |
XYZ | 11.2340 | 5.1263 | 39.4271 |
Yxy | 5.1263 | 0.2014 | 0.0919 |
Hunter Lab | 22.6413 | 48.9444 | -87.3973 |
CIE-Lab | 27.0916 | 59.6382 | -68.2567 |
#540cac color RGB value is (84,12,172).
#540cac hex color red value is 84, green value is 12 and the blue value of its RGB is 172. Cylindrical-coordinate representations (also known as HSL) of color #540cac hue: 0.74 , saturation: 0.87 and the lightness value of 540cac is 0.36.
The process color (four color CMYK) of #540cac color hex is 0.51, 0.93, 0.00, 0.33. Web safe color of #540cac is #660099. Color #540cac contains mainly BLUE color.
Base Numbers
Base | Red | Green | Blue |
---|---|---|---|
Binary | 01010100 | 00001100 | 10101100 |
Octal | 124 | 14 | 254 |
Decimal | 84 | 12 | 172 |
Hex | 54 | C | AC |
Shades of #540cac
Tints of #540cac
RGB Percentages of Color #540cac
CMYK Percentages of Color #540cac
Complementary Color
#540cac | #64ac0c |
#540cac Color Preview on Black Background
Lorem ipsum dolor sit amet.
#540cac Color Preview on White Background
Lorem ipsum dolor sit amet.
#540cac Color CSS Codes
.mybgcolor {background-color:#540cac; } .myforecolor {color:#540cac; } .mybordercolor {border:3px solid #540cac; }
#540cac Text Font Color
<p style="color:#540cac">Text here</p>
This sample text font color is #540cac
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.
#540cac Background Color
<div style="background-color:#540cac">
Div content here</div>
This div background color is #540cac
#540cac Border Color
<div style="border:3px solid #540cac">
Div here</div>
This div border color is #540cac
Css3 Examples
.textShadowRgb { text-shadow: 4px 4px 2px rgba(84,12,172, 0.8); } .textShadowHex { text-shadow: 4px 4px 2px #540cac; } .divShadow { -moz-box-shadow: 1px 1px 3px 2px #540cac; -webkit-box-shadow: 1px 1px 3px 2px #540cac; box-shadow: 1px 1px 3px 2px #540cac; }
Text Shadow with RGB Values
<p style="text-shadow: 4px 4px 2px rgba(84,12,172, 0.8);">Text here</p>
This text has shadow with rgb values.
Text Shadow with Hex Values
<p style="text-shadow: 4px 4px 2px #540cac">Text here</p>
This text has shadow with hex values.
Div Box Shadow
<div style="-moz-box-shadow: 1px 1px 3px 2px #540cac; -webkit-box-shadow: 1px 1px 3px 2px #540cac; box-shadow: 1px 1px 3px 2px #540cac;">
Div content here</div>
This div box has shadow with color #540cac
Comments
No comments written yet.
Please login to write comment.