In RGB color space, #1f5040 hex color has a red value of 31, a green value of 80 and a blue value of 64.
In CMYK color space (used in color printing), #1f5040 hex color is composed of 61.25% cyan, 0% magenta, 20% yellow and 68.63% black.
#1f5040 color has a hue of 160.4 degrees, a saturation of 44.14% and a lightness of 21.8%.
#1f5040 hex color contains mainly GREEN.
The closest web safe color of #1f5040 is #336633
#1f5040 hex color has a decimal value of 2052160.
HEX | 1f5040 | #1f5040 |
---|---|---|
RGB | 31, 80, 64 | rgb(31, 80, 64) |
RGB Percent | 12.16, 31.37, 25.1 | rgb(12.16, 31.37, 25.1) |
CMYK | 61, 0, 20, 69 | |
HSL | 160.4°, 44.14, 21.8 | hsl(160.4, 44.14%, 21.8%) |
HSV | 160.4°, 61.3, 31.4 |
XYZ | 4.359, 6.399, 5.856 |
---|---|
Hunter Lab | 25.296, -13.51, 3.982 |
CIE-LAB | 30.398, -21.017, 4.502 |
CIE-LCH | 30.398, 21.494, 167.91 |
CIE-LUV | 61.25, 0, 20, 68.63 |
Web Safe | 336633 |
RGB percent of color #1f5040
CMYK percent of color #1f5040
Text with hexadecimal color #1f5040
This text has a font color of #1f5040
<p style="color:#1f5040">Text here</p>
#1f5040 Background Color
This box has a background color of #1f5040
<div style="background-color:#1f5040">Text here</div>
#1f5040 Border Color
This box has a border color of #1f5040
<div style="border: 4px solid #1f5040">Text here</div>
CSS codes
<p style="color:#1f5040">Text here</p>
<div style="background-color:#1f5040">Text here</div>
<div style="border: 4px solid #1f5040">Text here</div>
#1f5040 Color on white background
This is how a font and box color of #1f5040 will look
on a white background.
#1f5040 Color on black background
This is how a font and box color of #1f5040 hex color will look
on a black background.