In RGB color space, #1f1042 hex color has a red value of 31, a green value of 16 and a blue value of 66.
In CMYK color space (used in color printing), #1f1042 hex color is composed of 53.03% cyan, 75.76% magenta, 0% yellow and 74.12% black.
#1f1042 color has a hue of 258 degrees, a saturation of 60.98% and a lightness of 16.1%.
#1f1042 hex color contains mainly BLUE.
The closest web safe color of #1f1042 is #330033
#1f1042 hex color has a decimal value of 2035778.
HEX | 1f1042 | #1f1042 |
---|---|---|
RGB | 31, 16, 66 | rgb(31, 16, 66) |
RGB Percent | 12.16, 6.27, 25.88 | rgb(12.16, 6.27, 25.88) |
CMYK | 53, 76, 0, 74 | |
HSL | 258°, 60.98, 16.1 | hsl(258, 60.98%, 16.1%) |
HSV | 258°, 75.8, 25.9 |
XYZ | 1.734, 1.055, 5.267 |
---|---|
Hunter Lab | 10.271, 12.159, -23.213 |
CIE-LAB | 9.441, 21.964, -29.008 |
CIE-LCH | 9.441, 36.385, 307.132 |
CIE-LUV | 53.03, 75.76, 0, 74.12 |
Web Safe | 330033 |
RGB percent of color #1f1042
CMYK percent of color #1f1042
Text with hexadecimal color #1f1042
This text has a font color of #1f1042
<p style="color:#1f1042">Text here</p>
#1f1042 Background Color
This box has a background color of #1f1042
<div style="background-color:#1f1042">Text here</div>
#1f1042 Border Color
This box has a border color of #1f1042
<div style="border: 4px solid #1f1042">Text here</div>
CSS codes
<p style="color:#1f1042">Text here</p>
<div style="background-color:#1f1042">Text here</div>
<div style="border: 4px solid #1f1042">Text here</div>
#1f1042 Color on white background
This is how a font and box color of #1f1042 will look
on a white background.
#1f1042 Color on black background
This is how a font and box color of #1f1042 hex color will look
on a black background.