In RGB color space, #1f7c0c hex color has a red value of 31, a green value of 124 and a blue value of 12.
In CMYK color space (used in color printing), #1f7c0c hex color is composed of 75% cyan, 0% magenta, 90.32% yellow and 51.37% black.
#1f7c0c color has a hue of 109.8 degrees, a saturation of 82.35% and a lightness of 26.7%.
#1f7c0c hex color contains mainly GREEN.
The closest web safe color of #1f7c0c is #336600
#1f7c0c hex color has a decimal value of 2063372.
HEX | 1f7c0c | #1f7c0c |
---|---|---|
RGB | 31, 124, 12 | rgb(31, 124, 12) |
RGB Percent | 12.16, 48.63, 4.71 | rgb(12.16, 48.63, 4.71) |
CMYK | 75, 0, 90, 51 | |
HSL | 109.8°, 82.35, 26.7 | hsl(109.8, 82.35%, 26.7%) |
HSV | 109.8°, 90.3, 48.6 |
XYZ | 7.839, 14.733, 2.778 |
---|---|
Hunter Lab | 38.384, -30.717, 22.577 |
CIE-LAB | 45.266, -46.436, 46.753 |
CIE-LCH | 45.266, 65.895, 134.805 |
CIE-LUV | 75, 0, 90.32, 51.37 |
Web Safe | 336600 |
RGB percent of color #1f7c0c
CMYK percent of color #1f7c0c
Text with hexadecimal color #1f7c0c
This text has a font color of #1f7c0c
<p style="color:#1f7c0c">Text here</p>
#1f7c0c Background Color
This box has a background color of #1f7c0c
<div style="background-color:#1f7c0c">Text here</div>
#1f7c0c Border Color
This box has a border color of #1f7c0c
<div style="border: 4px solid #1f7c0c">Text here</div>
CSS codes
<p style="color:#1f7c0c">Text here</p>
<div style="background-color:#1f7c0c">Text here</div>
<div style="border: 4px solid #1f7c0c">Text here</div>
#1f7c0c Color on white background
This is how a font and box color of #1f7c0c will look
on a white background.
#1f7c0c Color on black background
This is how a font and box color of #1f7c0c hex color will look
on a black background.