In RGB color space, #1f7e42 hex color has a red value of 31, a green value of 126 and a blue value of 66.
In CMYK color space (used in color printing), #1f7e42 hex color is composed of 75.4% cyan, 0% magenta, 47.62% yellow and 50.59% black.
#1f7e42 color has a hue of 142.1 degrees, a saturation of 60.51% and a lightness of 30.8%.
#1f7e42 hex color contains mainly GREEN.
The closest web safe color of #1f7e42 is #336633
#1f7e42 hex color has a decimal value of 2063938.
HEX | 1f7e42 | #1f7e42 |
---|---|---|
RGB | 31, 126, 66 | rgb(31, 126, 66) |
RGB Percent | 12.16, 49.41, 25.88 | rgb(12.16, 49.41, 25.88) |
CMYK | 75, 0, 48, 51 | |
HSL | 142.1°, 60.51, 30.8 | hsl(142.1, 60.51%, 30.8%) |
HSV | 142.1°, 75.4, 49.4 |
XYZ | 9.009, 15.606, 7.692 |
---|---|
Hunter Lab | 39.504, -28.426, 16.109 |
CIE-LAB | 46.453, -41.222, 25 |
CIE-LCH | 46.453, 48.211, 148.764 |
CIE-LUV | 75.4, 0, 47.62, 50.59 |
Web Safe | 336633 |
RGB percent of color #1f7e42
CMYK percent of color #1f7e42
Text with hexadecimal color #1f7e42
This text has a font color of #1f7e42
<p style="color:#1f7e42">Text here</p>
#1f7e42 Background Color
This box has a background color of #1f7e42
<div style="background-color:#1f7e42">Text here</div>
#1f7e42 Border Color
This box has a border color of #1f7e42
<div style="border: 4px solid #1f7e42">Text here</div>
CSS codes
<p style="color:#1f7e42">Text here</p>
<div style="background-color:#1f7e42">Text here</div>
<div style="border: 4px solid #1f7e42">Text here</div>
#1f7e42 Color on white background
This is how a font and box color of #1f7e42 will look
on a white background.
#1f7e42 Color on black background
This is how a font and box color of #1f7e42 hex color will look
on a black background.