In RGB color space, #540c5a hex color has a red value of 84, a green value of 12 and a blue value of 90.
In CMYK color space (used in color printing), #540c5a hex color is composed of 6.67% cyan, 86.67% magenta, 0% yellow and 64.71% black.
#540c5a color has a hue of 295.4 degrees, a saturation of 76.47% and a lightness of 20%.
#540c5a hex color contains mainly BLUE.
The closest web safe color of #540c5a is #660066
#540c5a hex color has a decimal value of 5508186.
HEX | 540c5a | #540c5a |
---|---|---|
RGB | 84, 12, 90 | rgb(84, 12, 90) |
RGB Percent | 32.94, 4.71, 35.29 | rgb(32.94, 4.71, 35.29) |
CMYK | 7, 87, 0, 65 | |
HSL | 295.4°, 76.47, 20 | hsl(295.4, 76.47%, 20%) |
HSV | 295.4°, 86.7, 35.3 |
XYZ | 5.633, 2.886, 9.933 |
---|---|
Hunter Lab | 16.988, 29.458, -22.775 |
CIE-LAB | 19.581, 41.573, -28.686 |
CIE-LCH | 19.581, 50.509, 325.394 |
CIE-LUV | 6.67, 86.67, 0, 64.71 |
Web Safe | 660066 |
RGB percent of color #540c5a
CMYK percent of color #540c5a
Text with hexadecimal color #540c5a
This text has a font color of #540c5a
<p style="color:#540c5a">Text here</p>
#540c5a Background Color
This box has a background color of #540c5a
<div style="background-color:#540c5a">Text here</div>
#540c5a Border Color
This box has a border color of #540c5a
<div style="border: 4px solid #540c5a">Text here</div>
CSS codes
<p style="color:#540c5a">Text here</p>
<div style="background-color:#540c5a">Text here</div>
<div style="border: 4px solid #540c5a">Text here</div>
#540c5a Color on white background
This is how a font and box color of #540c5a will look
on a white background.
#540c5a Color on black background
This is how a font and box color of #540c5a hex color will look
on a black background.