In RGB color space, #540138 hex color has a red value of 84, a green value of 1 and a blue value of 56.
In CMYK color space (used in color printing), #540138 hex color is composed of 0% cyan, 98.81% magenta, 33.33% yellow and 67.06% black.
#540138 color has a hue of 320.2 degrees, a saturation of 97.65% and a lightness of 16.7%.
#540138 hex color contains mainly RED.
The closest web safe color of #540138 is #660033
#540138 hex color has a decimal value of 5505336.
HEX | 540138 | #540138 |
---|---|---|
RGB | 84, 1, 56 | rgb(84, 1, 56) |
RGB Percent | 32.94, 0.39, 21.96 | rgb(32.94, 0.39, 21.96) |
CMYK | 0, 99, 33, 67 | |
HSL | 320.2°, 97.65, 16.7 | hsl(320.2, 97.65%, 16.7%) |
HSV | 320.2°, 98.8, 32.9 |
XYZ | 4.381, 2.192, 3.934 |
---|---|
Hunter Lab | 14.805, 26.91, -5.39 |
CIE-LAB | 16.464, 39.341, -10.145 |
CIE-LCH | 16.464, 40.628, 345.54 |
CIE-LUV | 0, 98.81, 33.33, 67.06 |
Web Safe | 660033 |
RGB percent of color #540138
CMYK percent of color #540138
Text with hexadecimal color #540138
This text has a font color of #540138
<p style="color:#540138">Text here</p>
#540138 Background Color
This box has a background color of #540138
<div style="background-color:#540138">Text here</div>
#540138 Border Color
This box has a border color of #540138
<div style="border: 4px solid #540138">Text here</div>
CSS codes
<p style="color:#540138">Text here</p>
<div style="background-color:#540138">Text here</div>
<div style="border: 4px solid #540138">Text here</div>
#540138 Color on white background
This is how a font and box color of #540138 will look
on a white background.
#540138 Color on black background
This is how a font and box color of #540138 hex color will look
on a black background.