In RGB color space, #5f1242 hex color has a red value of 95, a green value of 18 and a blue value of 66.
In CMYK color space (used in color printing), #5f1242 hex color is composed of 0% cyan, 81.05% magenta, 30.53% yellow and 62.75% black.
#5f1242 color has a hue of 322.6 degrees, a saturation of 68.14% and a lightness of 22.2%.
#5f1242 hex color contains mainly RED.
The closest web safe color of #5f1242 is #660033
#5f1242 hex color has a decimal value of 6230594.
HEX | 5f1242 | #5f1242 |
---|---|---|
RGB | 95, 18, 66 | rgb(95, 18, 66) |
RGB Percent | 37.25, 7.06, 25.88 | rgb(37.25, 7.06, 25.88) |
CMYK | 0, 81, 31, 63 | |
HSL | 322.6°, 68.14, 22.2 | hsl(322.6, 68.14%, 22.2%) |
HSV | 322.6°, 81.1, 37.3 |
XYZ | 5.919, 3.259, 5.471 |
---|---|
Hunter Lab | 18.053, 26.933, -5.331 |
CIE-LAB | 21.053, 38.476, -9.918 |
CIE-LCH | 21.053, 39.734, 345.545 |
CIE-LUV | 0, 81.05, 30.53, 62.75 |
Web Safe | 660033 |
RGB percent of color #5f1242
CMYK percent of color #5f1242
Text with hexadecimal color #5f1242
This text has a font color of #5f1242
<p style="color:#5f1242">Text here</p>
#5f1242 Background Color
This box has a background color of #5f1242
<div style="background-color:#5f1242">Text here</div>
#5f1242 Border Color
This box has a border color of #5f1242
<div style="border: 4px solid #5f1242">Text here</div>
CSS codes
<p style="color:#5f1242">Text here</p>
<div style="background-color:#5f1242">Text here</div>
<div style="border: 4px solid #5f1242">Text here</div>
#5f1242 Color on white background
This is how a font and box color of #5f1242 will look
on a white background.
#5f1242 Color on black background
This is how a font and box color of #5f1242 hex color will look
on a black background.