In RGB color space, #540c4f hex color has a red value of 84, a green value of 12 and a blue value of 79.
In CMYK color space (used in color printing), #540c4f hex color is composed of 0% cyan, 85.71% magenta, 5.95% yellow and 67.06% black.
#540c4f color has a hue of 304.2 degrees, a saturation of 75% and a lightness of 18.8%.
#540c4f hex color contains mainly RED.
The closest web safe color of #540c4f is #660066
#540c4f hex color has a decimal value of 5508175.
HEX | 540c4f | #540c4f |
---|---|---|
RGB | 84, 12, 79 | rgb(84, 12, 79) |
RGB Percent | 32.94, 4.71, 30.98 | rgb(32.94, 4.71, 30.98) |
CMYK | 0, 86, 6, 67 | |
HSL | 304.2°, 75, 18.8 | hsl(304.2, 75%, 18.8%) |
HSV | 304.2°, 85.7, 32.9 |
XYZ | 5.199, 2.712, 7.647 |
---|---|
Hunter Lab | 16.468, 27.533, -16.004 |
CIE-LAB | 18.851, 39.579, -22.428 |
CIE-LCH | 18.851, 45.492, 330.461 |
CIE-LUV | 0, 85.71, 5.95, 67.06 |
Web Safe | 660066 |
RGB percent of color #540c4f
CMYK percent of color #540c4f
Text with hexadecimal color #540c4f
This text has a font color of #540c4f
<p style="color:#540c4f">Text here</p>
#540c4f Background Color
This box has a background color of #540c4f
<div style="background-color:#540c4f">Text here</div>
#540c4f Border Color
This box has a border color of #540c4f
<div style="border: 4px solid #540c4f">Text here</div>
CSS codes
<p style="color:#540c4f">Text here</p>
<div style="background-color:#540c4f">Text here</div>
<div style="border: 4px solid #540c4f">Text here</div>
#540c4f Color on white background
This is how a font and box color of #540c4f will look
on a white background.
#540c4f Color on black background
This is how a font and box color of #540c4f hex color will look
on a black background.