In RGB color space, #1f7227 hex color has a red value of 31, a green value of 114 and a blue value of 39.
In CMYK color space (used in color printing), #1f7227 hex color is composed of 72.81% cyan, 0% magenta, 65.79% yellow and 55.29% black.
#1f7227 color has a hue of 125.8 degrees, a saturation of 57.24% and a lightness of 28.4%.
#1f7227 hex color contains mainly GREEN.
The closest web safe color of #1f7227 is #336633
#1f7227 hex color has a decimal value of 2060839.
HEX | 1f7227 | #1f7227 |
---|---|---|
RGB | 31, 114, 39 | rgb(31, 114, 39) |
RGB Percent | 12.16, 44.71, 15.29 | rgb(12.16, 44.71, 15.29) |
CMYK | 73, 0, 66, 55 | |
HSL | 125.8°, 57.24, 28.4 | hsl(125.8, 57.24%, 28.4%) |
HSV | 125.8°, 72.8, 44.7 |
XYZ | 6.949, 12.472, 3.961 |
---|---|
Hunter Lab | 35.316, -26.679, 18.071 |
CIE-LAB | 41.957, -40.74, 33.656 |
CIE-LCH | 41.957, 52.844, 140.439 |
CIE-LUV | 72.81, 0, 65.79, 55.29 |
Web Safe | 336633 |
RGB percent of color #1f7227
CMYK percent of color #1f7227
Text with hexadecimal color #1f7227
This text has a font color of #1f7227
<p style="color:#1f7227">Text here</p>
#1f7227 Background Color
This box has a background color of #1f7227
<div style="background-color:#1f7227">Text here</div>
#1f7227 Border Color
This box has a border color of #1f7227
<div style="border: 4px solid #1f7227">Text here</div>
CSS codes
<p style="color:#1f7227">Text here</p>
<div style="background-color:#1f7227">Text here</div>
<div style="border: 4px solid #1f7227">Text here</div>
#1f7227 Color on white background
This is how a font and box color of #1f7227 will look
on a white background.
#1f7227 Color on black background
This is how a font and box color of #1f7227 hex color will look
on a black background.