In RGB color space, #5f0840 hex color has a red value of 95, a green value of 8 and a blue value of 64.
In CMYK color space (used in color printing), #5f0840 hex color is composed of 0% cyan, 91.58% magenta, 32.63% yellow and 62.75% black.
#5f0840 color has a hue of 321.4 degrees, a saturation of 84.47% and a lightness of 20.2%.
#5f0840 hex color contains mainly RED.
The closest web safe color of #5f0840 is #660033
#5f0840 hex color has a decimal value of 6228032.
HEX | 5f0840 | #5f0840 |
---|---|---|
RGB | 95, 8, 64 | rgb(95, 8, 64) |
RGB Percent | 37.25, 3.14, 25.1 | rgb(37.25, 3.14, 25.1) |
CMYK | 0, 92, 33, 63 | |
HSL | 321.4°, 84.47, 20.2 | hsl(321.4, 84.47%, 20.2%) |
HSV | 321.4°, 91.6, 37.3 |
XYZ | 5.732, 2.977, 5.123 |
---|---|
Hunter Lab | 17.254, 29.106, -5.526 |
CIE-LAB | 19.952, 41.113, -10.217 |
CIE-LCH | 19.952, 42.363, 346.044 |
CIE-LUV | 0, 91.58, 32.63, 62.75 |
Web Safe | 660033 |
RGB percent of color #5f0840
CMYK percent of color #5f0840
Text with hexadecimal color #5f0840
This text has a font color of #5f0840
<p style="color:#5f0840">Text here</p>
#5f0840 Background Color
This box has a background color of #5f0840
<div style="background-color:#5f0840">Text here</div>
#5f0840 Border Color
This box has a border color of #5f0840
<div style="border: 4px solid #5f0840">Text here</div>
CSS codes
<p style="color:#5f0840">Text here</p>
<div style="background-color:#5f0840">Text here</div>
<div style="border: 4px solid #5f0840">Text here</div>
#5f0840 Color on white background
This is how a font and box color of #5f0840 will look
on a white background.
#5f0840 Color on black background
This is how a font and box color of #5f0840 hex color will look
on a black background.