In RGB color space, #540c0c hex color has a red value of 84, a green value of 12 and a blue value of 12.
In CMYK color space (used in color printing), #540c0c hex color is composed of 0% cyan, 85.71% magenta, 85.71% yellow and 67.06% black.
#540c0c color has a hue of 0 degrees, a saturation of 75% and a lightness of 18.8%.
#540c0c hex color contains mainly RED.
The closest web safe color of #540c0c is #660000
#540c0c hex color has a decimal value of 5508108.
HEX | 540c0c | #540c0c |
---|---|---|
RGB | 84, 12, 12 | rgb(84, 12, 12) |
RGB Percent | 32.94, 4.71, 4.71 | rgb(32.94, 4.71, 4.71) |
CMYK | 0, 86, 86, 67 | |
HSL | 0°, 75, 18.8 | hsl(0, 75%, 18.8%) |
HSV | 0°, 85.7, 32.9 |
XYZ | 3.854, 2.174, 0.564 |
---|---|
Hunter Lab | 14.744, 20.855, 8.053 |
CIE-LAB | 16.375, 32.228, 20.166 |
CIE-LCH | 16.375, 38.017, 32.035 |
CIE-LUV | 0, 85.71, 85.71, 67.06 |
Web Safe | 660000 |
RGB percent of color #540c0c
CMYK percent of color #540c0c
Text with hexadecimal color #540c0c
This text has a font color of #540c0c
<p style="color:#540c0c">Text here</p>
#540c0c Background Color
This box has a background color of #540c0c
<div style="background-color:#540c0c">Text here</div>
#540c0c Border Color
This box has a border color of #540c0c
<div style="border: 4px solid #540c0c">Text here</div>
CSS codes
<p style="color:#540c0c">Text here</p>
<div style="background-color:#540c0c">Text here</div>
<div style="border: 4px solid #540c0c">Text here</div>
#540c0c Color on white background
This is how a font and box color of #540c0c will look
on a white background.
#540c0c Color on black background
This is how a font and box color of #540c0c hex color will look
on a black background.