In RGB color space, #540c1f hex color has a red value of 84, a green value of 12 and a blue value of 31.
In CMYK color space (used in color printing), #540c1f hex color is composed of 0% cyan, 85.71% magenta, 63.1% yellow and 67.06% black.
#540c1f color has a hue of 344.2 degrees, a saturation of 75% and a lightness of 18.8%.
#540c1f hex color contains mainly RED.
The closest web safe color of #540c1f is #660033
#540c1f hex color has a decimal value of 5508127.
HEX | 540c1f | #540c1f |
---|---|---|
RGB | 84, 12, 31 | rgb(84, 12, 31) |
RGB Percent | 32.94, 4.71, 12.16 | rgb(32.94, 4.71, 12.16) |
CMYK | 0, 86, 63, 67 | |
HSL | 344.2°, 75, 18.8 | hsl(344.2, 75%, 18.8%) |
HSV | 344.2°, 85.7, 32.9 |
XYZ | 4.035, 2.247, 1.517 |
---|---|
Hunter Lab | 14.99, 21.816, 4.493 |
CIE-LAB | 16.733, 33.331, 8.312 |
CIE-LCH | 16.733, 34.352, 14.003 |
CIE-LUV | 0, 85.71, 63.1, 67.06 |
Web Safe | 660033 |
RGB percent of color #540c1f
CMYK percent of color #540c1f
Text with hexadecimal color #540c1f
This text has a font color of #540c1f
<p style="color:#540c1f">Text here</p>
#540c1f Background Color
This box has a background color of #540c1f
<div style="background-color:#540c1f">Text here</div>
#540c1f Border Color
This box has a border color of #540c1f
<div style="border: 4px solid #540c1f">Text here</div>
CSS codes
<p style="color:#540c1f">Text here</p>
<div style="background-color:#540c1f">Text here</div>
<div style="border: 4px solid #540c1f">Text here</div>
#540c1f Color on white background
This is how a font and box color of #540c1f will look
on a white background.
#540c1f Color on black background
This is how a font and box color of #540c1f hex color will look
on a black background.