In RGB color space, #540342 hex color has a red value of 84, a green value of 3 and a blue value of 66.
In CMYK color space (used in color printing), #540342 hex color is composed of 0% cyan, 96.43% magenta, 21.43% yellow and 67.06% black.
#540342 color has a hue of 313.3 degrees, a saturation of 93.1% and a lightness of 17.1%.
#540342 hex color contains mainly RED.
The closest web safe color of #540342 is #660033
#540342 hex color has a decimal value of 5505858.
HEX | 540342 | #540342 |
---|---|---|
RGB | 84, 3, 66 | rgb(84, 3, 66) |
RGB Percent | 32.94, 1.18, 25.88 | rgb(32.94, 1.18, 25.88) |
CMYK | 0, 96, 21, 67 | |
HSL | 313.3°, 93.1, 17.1 | hsl(313.3, 93.1%, 17.1%) |
HSV | 313.3°, 96.4, 32.9 |
XYZ | 4.672, 2.343, 5.36 |
---|---|
Hunter Lab | 15.307, 27.695, -10.047 |
CIE-LAB | 17.193, 40.084, -16.069 |
CIE-LCH | 17.193, 43.185, 338.155 |
CIE-LUV | 0, 96.43, 21.43, 67.06 |
Web Safe | 660033 |
RGB percent of color #540342
CMYK percent of color #540342
Text with hexadecimal color #540342
This text has a font color of #540342
<p style="color:#540342">Text here</p>
#540342 Background Color
This box has a background color of #540342
<div style="background-color:#540342">Text here</div>
#540342 Border Color
This box has a border color of #540342
<div style="border: 4px solid #540342">Text here</div>
CSS codes
<p style="color:#540342">Text here</p>
<div style="background-color:#540342">Text here</div>
<div style="border: 4px solid #540342">Text here</div>
#540342 Color on white background
This is how a font and box color of #540342 will look
on a white background.
#540342 Color on black background
This is how a font and box color of #540342 hex color will look
on a black background.