In RGB color space, #1f7f42 hex color has a red value of 31, a green value of 127 and a blue value of 66.
In CMYK color space (used in color printing), #1f7f42 hex color is composed of 75.59% cyan, 0% magenta, 48.03% yellow and 50.2% black.
#1f7f42 color has a hue of 141.9 degrees, a saturation of 60.76% and a lightness of 31%.
#1f7f42 hex color contains mainly GREEN.
The closest web safe color of #1f7f42 is #336633
#1f7f42 hex color has a decimal value of 2064194.
HEX | 1f7f42 | #1f7f42 |
---|---|---|
RGB | 31, 127, 66 | rgb(31, 127, 66) |
RGB Percent | 12.16, 49.8, 25.88 | rgb(12.16, 49.8, 25.88) |
CMYK | 76, 0, 48, 50 | |
HSL | 141.9°, 60.76, 31 | hsl(141.9, 60.76%, 31%) |
HSV | 141.9°, 75.6, 49.8 |
XYZ | 9.138, 15.863, 7.735 |
---|---|
Hunter Lab | 39.828, -28.746, 16.365 |
CIE-LAB | 46.794, -41.609, 25.434 |
CIE-LCH | 46.794, 48.767, 148.564 |
CIE-LUV | 75.59, 0, 48.03, 50.2 |
Web Safe | 336633 |
RGB percent of color #1f7f42
CMYK percent of color #1f7f42
Text with hexadecimal color #1f7f42
This text has a font color of #1f7f42
<p style="color:#1f7f42">Text here</p>
#1f7f42 Background Color
This box has a background color of #1f7f42
<div style="background-color:#1f7f42">Text here</div>
#1f7f42 Border Color
This box has a border color of #1f7f42
<div style="border: 4px solid #1f7f42">Text here</div>
CSS codes
<p style="color:#1f7f42">Text here</p>
<div style="background-color:#1f7f42">Text here</div>
<div style="border: 4px solid #1f7f42">Text here</div>
#1f7f42 Color on white background
This is how a font and box color of #1f7f42 will look
on a white background.
#1f7f42 Color on black background
This is how a font and box color of #1f7f42 hex color will look
on a black background.