In RGB color space, #1f1f31 hex color has a red value of 31, a green value of 31 and a blue value of 49.
In CMYK color space (used in color printing), #1f1f31 hex color is composed of 36.73% cyan, 36.73% magenta, 0% yellow and 80.78% black.
#1f1f31 color has a hue of 240 degrees, a saturation of 22.5% and a lightness of 15.7%.
#1f1f31 hex color contains mainly BLUE.
The closest web safe color of #1f1f31 is #333333
#1f1f31 hex color has a decimal value of 2039601.
HEX | 1f1f31 | #1f1f31 |
---|---|---|
RGB | 31, 31, 49 | rgb(31, 31, 49) |
RGB Percent | 12.16, 12.16, 19.22 | rgb(12.16, 12.16, 19.22) |
CMYK | 37, 37, 0, 81 | |
HSL | 240°, 22.5, 15.7 | hsl(240, 22.5%, 15.7%) |
HSV | 240°, 36.7, 19.2 |
XYZ | 1.609, 1.493, 3.109 |
---|---|
Hunter Lab | 12.219, 2.122, -6.533 |
CIE-LAB | 12.563, 5.265, -11.882 |
CIE-LCH | 12.563, 12.996, 293.898 |
CIE-LUV | 36.73, 36.73, 0, 80.78 |
Web Safe | 333333 |
RGB percent of color #1f1f31
CMYK percent of color #1f1f31
Text with hexadecimal color #1f1f31
This text has a font color of #1f1f31
<p style="color:#1f1f31">Text here</p>
#1f1f31 Background Color
This box has a background color of #1f1f31
<div style="background-color:#1f1f31">Text here</div>
#1f1f31 Border Color
This box has a border color of #1f1f31
<div style="border: 4px solid #1f1f31">Text here</div>
CSS codes
<p style="color:#1f1f31">Text here</p>
<div style="background-color:#1f1f31">Text here</div>
<div style="border: 4px solid #1f1f31">Text here</div>
#1f1f31 Color on white background
This is how a font and box color of #1f1f31 will look
on a white background.
#1f1f31 Color on black background
This is how a font and box color of #1f1f31 hex color will look
on a black background.