In RGB color space, #1f4842 hex color has a red value of 31, a green value of 72 and a blue value of 66.
In CMYK color space (used in color printing), #1f4842 hex color is composed of 56.94% cyan, 0% magenta, 8.33% yellow and 71.76% black.
#1f4842 color has a hue of 171.2 degrees, a saturation of 39.81% and a lightness of 20.2%.
#1f4842 hex color contains mainly GREEN.
The closest web safe color of #1f4842 is #333333
#1f4842 hex color has a decimal value of 2050114.
HEX | 1f4842 | #1f4842 |
---|---|---|
RGB | 31, 72, 66 | rgb(31, 72, 66) |
RGB Percent | 12.16, 28.24, 25.88 | rgb(12.16, 28.24, 25.88) |
CMYK | 57, 0, 8, 72 | |
HSL | 171.2°, 39.81, 20.2 | hsl(171.2, 39.81%, 20.2%) |
HSV | 171.2°, 56.9, 28.2 |
XYZ | 3.866, 5.319, 5.977 |
---|---|
Hunter Lab | 23.063, -10.439, 0.778 |
CIE-LAB | 27.625, -16.085, -0.795 |
CIE-LCH | 27.625, 16.105, 182.83 |
CIE-LUV | 56.94, 0, 8.33, 71.76 |
Web Safe | 333333 |
RGB percent of color #1f4842
CMYK percent of color #1f4842
Text with hexadecimal color #1f4842
This text has a font color of #1f4842
<p style="color:#1f4842">Text here</p>
#1f4842 Background Color
This box has a background color of #1f4842
<div style="background-color:#1f4842">Text here</div>
#1f4842 Border Color
This box has a border color of #1f4842
<div style="border: 4px solid #1f4842">Text here</div>
CSS codes
<p style="color:#1f4842">Text here</p>
<div style="background-color:#1f4842">Text here</div>
<div style="border: 4px solid #1f4842">Text here</div>
#1f4842 Color on white background
This is how a font and box color of #1f4842 will look
on a white background.
#1f4842 Color on black background
This is how a font and box color of #1f4842 hex color will look
on a black background.