In RGB color space, #540b42 hex color has a red value of 84, a green value of 11 and a blue value of 66.
In CMYK color space (used in color printing), #540b42 hex color is composed of 0% cyan, 86.9% magenta, 21.43% yellow and 67.06% black.
#540b42 color has a hue of 314.8 degrees, a saturation of 76.84% and a lightness of 18.6%.
#540b42 hex color contains mainly RED.
The closest web safe color of #540b42 is #660033
#540b42 hex color has a decimal value of 5507906.
HEX | 540b42 | #540b42 |
---|---|---|
RGB | 84, 11, 66 | rgb(84, 11, 66) |
RGB Percent | 32.94, 4.31, 25.88 | rgb(32.94, 4.31, 25.88) |
CMYK | 0, 87, 21, 67 | |
HSL | 314.8°, 76.84, 18.6 | hsl(314.8, 76.84%, 18.6%) |
HSV | 314.8°, 86.9, 32.9 |
XYZ | 4.759, 2.518, 5.389 |
---|---|
Hunter Lab | 15.868, 25.764, -9.028 |
CIE-LAB | 18, 37.737, -14.811 |
CIE-LCH | 18, 40.539, 338.571 |
CIE-LUV | 0, 86.9, 21.43, 67.06 |
Web Safe | 660033 |
RGB percent of color #540b42
CMYK percent of color #540b42
Text with hexadecimal color #540b42
This text has a font color of #540b42
<p style="color:#540b42">Text here</p>
#540b42 Background Color
This box has a background color of #540b42
<div style="background-color:#540b42">Text here</div>
#540b42 Border Color
This box has a border color of #540b42
<div style="border: 4px solid #540b42">Text here</div>
CSS codes
<p style="color:#540b42">Text here</p>
<div style="background-color:#540b42">Text here</div>
<div style="border: 4px solid #540b42">Text here</div>
#540b42 Color on white background
This is how a font and box color of #540b42 will look
on a white background.
#540b42 Color on black background
This is how a font and box color of #540b42 hex color will look
on a black background.