In RGB color space, #1f7d1f hex color has a red value of 31, a green value of 125 and a blue value of 31.
In CMYK color space (used in color printing), #1f7d1f hex color is composed of 75.2% cyan, 0% magenta, 75.2% yellow and 50.98% black.
#1f7d1f color has a hue of 120 degrees, a saturation of 60.26% and a lightness of 30.6%.
#1f7d1f hex color contains mainly GREEN.
The closest web safe color of #1f7d1f is #336633
#1f7d1f hex color has a decimal value of 2063647.
HEX | 1f7d1f | #1f7d1f |
---|---|---|
RGB | 31, 125, 31 | rgb(31, 125, 31) |
RGB Percent | 12.16, 49.02, 12.16 | rgb(12.16, 49.02, 12.16) |
CMYK | 75, 0, 75, 51 | |
HSL | 120°, 60.26, 30.6 | hsl(120, 60.26%, 30.6%) |
HSV | 120°, 75.2, 49 |
XYZ | 8.146, 15.057, 3.773 |
---|---|
Hunter Lab | 38.803, -30.433, 21.397 |
CIE-LAB | 45.712, -45.553, 41.197 |
CIE-LCH | 45.712, 61.419, 137.875 |
CIE-LUV | 75.2, 0, 75.2, 50.98 |
Web Safe | 336633 |
RGB percent of color #1f7d1f
CMYK percent of color #1f7d1f
Text with hexadecimal color #1f7d1f
This text has a font color of #1f7d1f
<p style="color:#1f7d1f">Text here</p>
#1f7d1f Background Color
This box has a background color of #1f7d1f
<div style="background-color:#1f7d1f">Text here</div>
#1f7d1f Border Color
This box has a border color of #1f7d1f
<div style="border: 4px solid #1f7d1f">Text here</div>
CSS codes
<p style="color:#1f7d1f">Text here</p>
<div style="background-color:#1f7d1f">Text here</div>
<div style="border: 4px solid #1f7d1f">Text here</div>
#1f7d1f Color on white background
This is how a font and box color of #1f7d1f will look
on a white background.
#1f7d1f Color on black background
This is how a font and box color of #1f7d1f hex color will look
on a black background.