In RGB color space, #1f7a21 hex color has a red value of 31, a green value of 122 and a blue value of 33.
In CMYK color space (used in color printing), #1f7a21 hex color is composed of 74.59% cyan, 0% magenta, 72.95% yellow and 52.16% black.
#1f7a21 color has a hue of 121.3 degrees, a saturation of 59.48% and a lightness of 30%.
#1f7a21 hex color contains mainly GREEN.
The closest web safe color of #1f7a21 is #336633
#1f7a21 hex color has a decimal value of 2062881.
HEX | 1f7a21 | #1f7a21 |
---|---|---|
RGB | 31, 122, 33 | rgb(31, 122, 33) |
RGB Percent | 12.16, 47.84, 12.94 | rgb(12.16, 47.84, 12.94) |
CMYK | 75, 0, 73, 52 | |
HSL | 121.3°, 59.48, 30 | hsl(121.3, 59.48%, 30%) |
HSV | 121.3°, 74.6, 47.8 |
XYZ | 7.799, 14.32, 3.792 |
---|---|
Hunter Lab | 37.842, -29.435, 20.548 |
CIE-LAB | 44.688, -44.316, 39.322 |
CIE-LCH | 44.688, 59.246, 138.417 |
CIE-LUV | 74.59, 0, 72.95, 52.16 |
Web Safe | 336633 |
RGB percent of color #1f7a21
CMYK percent of color #1f7a21
Text with hexadecimal color #1f7a21
This text has a font color of #1f7a21
<p style="color:#1f7a21">Text here</p>
#1f7a21 Background Color
This box has a background color of #1f7a21
<div style="background-color:#1f7a21">Text here</div>
#1f7a21 Border Color
This box has a border color of #1f7a21
<div style="border: 4px solid #1f7a21">Text here</div>
CSS codes
<p style="color:#1f7a21">Text here</p>
<div style="background-color:#1f7a21">Text here</div>
<div style="border: 4px solid #1f7a21">Text here</div>
#1f7a21 Color on white background
This is how a font and box color of #1f7a21 will look
on a white background.
#1f7a21 Color on black background
This is how a font and box color of #1f7a21 hex color will look
on a black background.