In RGB color space, #5f1228 hex color has a red value of 95, a green value of 18 and a blue value of 40.
In CMYK color space (used in color printing), #5f1228 hex color is composed of 0% cyan, 81.05% magenta, 57.89% yellow and 62.75% black.
#5f1228 color has a hue of 342.9 degrees, a saturation of 68.14% and a lightness of 22.2%.
#5f1228 hex color contains mainly RED.
The closest web safe color of #5f1228 is #660033
#5f1228 hex color has a decimal value of 6230568.
HEX | 5f1228 | #5f1228 |
---|---|---|
RGB | 95, 18, 40 | rgb(95, 18, 40) |
RGB Percent | 37.25, 7.06, 15.69 | rgb(37.25, 7.06, 15.69) |
CMYK | 0, 81, 58, 63 | |
HSL | 342.9°, 68.14, 22.2 | hsl(342.9, 68.14%, 22.2%) |
HSV | 342.9°, 81.1, 37.3 |
XYZ | 5.319, 3.019, 2.31 |
---|---|
Hunter Lab | 17.375, 24.237, 4.28 |
CIE-LAB | 20.12, 35.561, 6.909 |
CIE-LCH | 20.12, 36.226, 10.995 |
CIE-LUV | 0, 81.05, 57.89, 62.75 |
Web Safe | 660033 |
RGB percent of color #5f1228
CMYK percent of color #5f1228
Text with hexadecimal color #5f1228
This text has a font color of #5f1228
<p style="color:#5f1228">Text here</p>
#5f1228 Background Color
This box has a background color of #5f1228
<div style="background-color:#5f1228">Text here</div>
#5f1228 Border Color
This box has a border color of #5f1228
<div style="border: 4px solid #5f1228">Text here</div>
CSS codes
<p style="color:#5f1228">Text here</p>
<div style="background-color:#5f1228">Text here</div>
<div style="border: 4px solid #5f1228">Text here</div>
#5f1228 Color on white background
This is how a font and box color of #5f1228 will look
on a white background.
#5f1228 Color on black background
This is how a font and box color of #5f1228 hex color will look
on a black background.