In RGB color space, #540c52 hex color has a red value of 84, a green value of 12 and a blue value of 82.
In CMYK color space (used in color printing), #540c52 hex color is composed of 0% cyan, 85.71% magenta, 2.38% yellow and 67.06% black.
#540c52 color has a hue of 301.7 degrees, a saturation of 75% and a lightness of 18.8%.
#540c52 hex color contains mainly RED.
The closest web safe color of #540c52 is #660066
#540c52 hex color has a decimal value of 5508178.
HEX | 540c52 | #540c52 |
---|---|---|
RGB | 84, 12, 82 | rgb(84, 12, 82) |
RGB Percent | 32.94, 4.71, 32.16 | rgb(32.94, 4.71, 32.16) |
CMYK | 0, 86, 2, 67 | |
HSL | 301.7°, 75, 18.8 | hsl(301.7, 75%, 18.8%) |
HSV | 301.7°, 85.7, 32.9 |
XYZ | 5.311, 2.757, 8.235 |
---|---|
Hunter Lab | 16.604, 28.037, -17.782 |
CIE-LAB | 19.043, 40.105, -24.16 |
CIE-LCH | 19.043, 46.82, 328.934 |
CIE-LUV | 0, 85.71, 2.38, 67.06 |
Web Safe | 660066 |
RGB percent of color #540c52
CMYK percent of color #540c52
Text with hexadecimal color #540c52
This text has a font color of #540c52
<p style="color:#540c52">Text here</p>
#540c52 Background Color
This box has a background color of #540c52
<div style="background-color:#540c52">Text here</div>
#540c52 Border Color
This box has a border color of #540c52
<div style="border: 4px solid #540c52">Text here</div>
CSS codes
<p style="color:#540c52">Text here</p>
<div style="background-color:#540c52">Text here</div>
<div style="border: 4px solid #540c52">Text here</div>
#540c52 Color on white background
This is how a font and box color of #540c52 will look
on a white background.
#540c52 Color on black background
This is how a font and box color of #540c52 hex color will look
on a black background.