In RGB color space, #1f1221 hex color has a red value of 31, a green value of 18 and a blue value of 33.
In CMYK color space (used in color printing), #1f1221 hex color is composed of 6.06% cyan, 45.45% magenta, 0% yellow and 87.06% black.
#1f1221 color has a hue of 292 degrees, a saturation of 29.41% and a lightness of 10%.
#1f1221 hex color contains mainly BLUE.
The closest web safe color of #1f1221 is #330033
#1f1221 hex color has a decimal value of 2036257.
HEX | 1f1221 | #1f1221 |
---|---|---|
RGB | 31, 18, 33 | rgb(31, 18, 33) |
RGB Percent | 12.16, 7.06, 12.94 | rgb(12.16, 7.06, 12.94) |
CMYK | 6, 45, 0, 87 | |
HSL | 292°, 29.41, 10 | hsl(292, 29.41%, 10%) |
HSV | 292°, 45.5, 12.9 |
XYZ | 1.056, 0.834, 1.544 |
---|---|
Hunter Lab | 9.132, 4.659, -3.631 |
CIE-LAB | 7.533, 10.132, -7.834 |
CIE-LCH | 7.533, 12.807, 322.289 |
CIE-LUV | 6.06, 45.45, 0, 87.06 |
Web Safe | 330033 |
RGB percent of color #1f1221
CMYK percent of color #1f1221
Text with hexadecimal color #1f1221
This text has a font color of #1f1221
<p style="color:#1f1221">Text here</p>
#1f1221 Background Color
This box has a background color of #1f1221
<div style="background-color:#1f1221">Text here</div>
#1f1221 Border Color
This box has a border color of #1f1221
<div style="border: 4px solid #1f1221">Text here</div>
CSS codes
<p style="color:#1f1221">Text here</p>
<div style="background-color:#1f1221">Text here</div>
<div style="border: 4px solid #1f1221">Text here</div>
#1f1221 Color on white background
This is how a font and box color of #1f1221 will look
on a white background.
#1f1221 Color on black background
This is how a font and box color of #1f1221 hex color will look
on a black background.