In RGB color space, #1f7840 hex color has a red value of 31, a green value of 120 and a blue value of 64.
In CMYK color space (used in color printing), #1f7840 hex color is composed of 74.17% cyan, 0% magenta, 46.67% yellow and 52.94% black.
#1f7840 color has a hue of 142.2 degrees, a saturation of 58.94% and a lightness of 29.6%.
#1f7840 hex color contains mainly GREEN.
The closest web safe color of #1f7840 is #336633
#1f7840 hex color has a decimal value of 2062400.
HEX | 1f7840 | #1f7840 |
---|---|---|
RGB | 31, 120, 64 | rgb(31, 120, 64) |
RGB Percent | 12.16, 47.06, 25.1 | rgb(12.16, 47.06, 25.1) |
CMYK | 74, 0, 47, 53 | |
HSL | 142.2°, 58.94, 29.6 | hsl(142.2, 58.94%, 29.6%) |
HSV | 142.2°, 74.2, 47.1 |
XYZ | 8.207, 14.094, 7.138 |
---|---|
Hunter Lab | 37.542, -26.677, 15.006 |
CIE-LAB | 44.367, -39.208, 23.438 |
CIE-LCH | 44.367, 45.679, 149.13 |
CIE-LUV | 74.17, 0, 46.67, 52.94 |
Web Safe | 336633 |
RGB percent of color #1f7840
CMYK percent of color #1f7840
Text with hexadecimal color #1f7840
This text has a font color of #1f7840
<p style="color:#1f7840">Text here</p>
#1f7840 Background Color
This box has a background color of #1f7840
<div style="background-color:#1f7840">Text here</div>
#1f7840 Border Color
This box has a border color of #1f7840
<div style="border: 4px solid #1f7840">Text here</div>
CSS codes
<p style="color:#1f7840">Text here</p>
<div style="background-color:#1f7840">Text here</div>
<div style="border: 4px solid #1f7840">Text here</div>
#1f7840 Color on white background
This is how a font and box color of #1f7840 will look
on a white background.
#1f7840 Color on black background
This is how a font and box color of #1f7840 hex color will look
on a black background.