In RGB color space, #540cad hex color has a red value of 84, a green value of 12 and a blue value of 173.
In CMYK color space (used in color printing), #540cad hex color is composed of 51.45% cyan, 93.06% magenta, 0% yellow and 32.16% black.
#540cad color has a hue of 266.8 degrees, a saturation of 87.03% and a lightness of 36.3%.
#540cad hex color contains mainly BLUE.
The closest web safe color of #540cad is #660099
#540cad hex color has a decimal value of 5508269.
HEX | 540cad | #540cad |
---|---|---|
RGB | 84, 12, 173 | rgb(84, 12, 173) |
RGB Percent | 32.94, 4.71, 67.84 | rgb(32.94, 4.71, 67.84) |
CMYK | 51, 93, 0, 32 | |
HSL | 266.8°, 87.03, 36.3 | hsl(266.8, 87.03%, 36.3%) |
HSV | 266.8°, 93.1, 67.8 |
XYZ | 11.33, 5.165, 39.935 |
---|---|
Hunter Lab | 22.727, 49.217, -88.275 |
CIE-LAB | 27.2, 59.869, -68.68 |
CIE-LCH | 27.2, 91.111, 311.079 |
CIE-LUV | 51.45, 93.06, 0, 32.16 |
Web Safe | 660099 |
RGB percent of color #540cad
CMYK percent of color #540cad
Text with hexadecimal color #540cad
This text has a font color of #540cad
<p style="color:#540cad">Text here</p>
#540cad Background Color
This box has a background color of #540cad
<div style="background-color:#540cad">Text here</div>
#540cad Border Color
This box has a border color of #540cad
<div style="border: 4px solid #540cad">Text here</div>
CSS codes
<p style="color:#540cad">Text here</p>
<div style="background-color:#540cad">Text here</div>
<div style="border: 4px solid #540cad">Text here</div>
#540cad Color on white background
This is how a font and box color of #540cad will look
on a white background.
#540cad Color on black background
This is how a font and box color of #540cad hex color will look
on a black background.