In RGB color space, #1f8e42 hex color has a red value of 31, a green value of 142 and a blue value of 66.
In CMYK color space (used in color printing), #1f8e42 hex color is composed of 78.17% cyan, 0% magenta, 53.52% yellow and 44.31% black.
#1f8e42 color has a hue of 138.9 degrees, a saturation of 64.16% and a lightness of 33.9%.
#1f8e42 hex color contains mainly GREEN.
The closest web safe color of #1f8e42 is #339933
#1f8e42 hex color has a decimal value of 2068034.
HEX | 1f8e42 | #1f8e42 |
---|---|---|
RGB | 31, 142, 66 | rgb(31, 142, 66) |
RGB Percent | 12.16, 55.69, 25.88 | rgb(12.16, 55.69, 25.88) |
CMYK | 78, 0, 54, 44 | |
HSL | 138.9°, 64.16, 33.9 | hsl(138.9, 64.16%, 33.9%) |
HSV | 138.9°, 78.2, 55.7 |
XYZ | 11.221, 20.031, 8.429 |
---|---|
Hunter Lab | 44.756, -33.57, 20.163 |
CIE-LAB | 51.872, -47.27, 31.783 |
CIE-LCH | 51.872, 56.961, 146.084 |
CIE-LUV | 78.17, 0, 53.52, 44.31 |
Web Safe | 339933 |
RGB percent of color #1f8e42
CMYK percent of color #1f8e42
Text with hexadecimal color #1f8e42
This text has a font color of #1f8e42
<p style="color:#1f8e42">Text here</p>
#1f8e42 Background Color
This box has a background color of #1f8e42
<div style="background-color:#1f8e42">Text here</div>
#1f8e42 Border Color
This box has a border color of #1f8e42
<div style="border: 4px solid #1f8e42">Text here</div>
CSS codes
<p style="color:#1f8e42">Text here</p>
<div style="background-color:#1f8e42">Text here</div>
<div style="border: 4px solid #1f8e42">Text here</div>
#1f8e42 Color on white background
This is how a font and box color of #1f8e42 will look
on a white background.
#1f8e42 Color on black background
This is how a font and box color of #1f8e42 hex color will look
on a black background.