In RGB color space, #1f8242 hex color has a red value of 31, a green value of 130 and a blue value of 66.
In CMYK color space (used in color printing), #1f8242 hex color is composed of 76.15% cyan, 0% magenta, 49.23% yellow and 49.02% black.
#1f8242 color has a hue of 141.2 degrees, a saturation of 61.49% and a lightness of 31.6%.
#1f8242 hex color contains mainly GREEN.
The closest web safe color of #1f8242 is #339933
#1f8242 hex color has a decimal value of 2064962.
HEX | 1f8242 | #1f8242 |
---|---|---|
RGB | 31, 130, 66 | rgb(31, 130, 66) |
RGB Percent | 12.16, 50.98, 25.88 | rgb(12.16, 50.98, 25.88) |
CMYK | 76, 0, 49, 49 | |
HSL | 141.2°, 61.49, 31.6 | hsl(141.2, 61.49%, 31.6%) |
HSV | 141.2°, 76.2, 51 |
XYZ | 9.531, 16.65, 7.866 |
---|---|
Hunter Lab | 40.804, -29.714, 17.134 |
CIE-LAB | 47.816, -42.776, 26.731 |
CIE-LCH | 47.816, 50.441, 147.998 |
CIE-LUV | 76.15, 0, 49.23, 49.02 |
Web Safe | 339933 |
RGB percent of color #1f8242
CMYK percent of color #1f8242
Text with hexadecimal color #1f8242
This text has a font color of #1f8242
<p style="color:#1f8242">Text here</p>
#1f8242 Background Color
This box has a background color of #1f8242
<div style="background-color:#1f8242">Text here</div>
#1f8242 Border Color
This box has a border color of #1f8242
<div style="border: 4px solid #1f8242">Text here</div>
CSS codes
<p style="color:#1f8242">Text here</p>
<div style="background-color:#1f8242">Text here</div>
<div style="border: 4px solid #1f8242">Text here</div>
#1f8242 Color on white background
This is how a font and box color of #1f8242 will look
on a white background.
#1f8242 Color on black background
This is how a font and box color of #1f8242 hex color will look
on a black background.