In RGB color space, #1f7828 hex color has a red value of 31, a green value of 120 and a blue value of 40.
In CMYK color space (used in color printing), #1f7828 hex color is composed of 74.17% cyan, 0% magenta, 66.67% yellow and 52.94% black.
#1f7828 color has a hue of 126.1 degrees, a saturation of 58.94% and a lightness of 29.6%.
#1f7828 hex color contains mainly GREEN.
The closest web safe color of #1f7828 is #336633
#1f7828 hex color has a decimal value of 2062376.
HEX | 1f7828 | #1f7828 |
---|---|---|
RGB | 31, 120, 40 | rgb(31, 120, 40) |
RGB Percent | 12.16, 47.06, 15.69 | rgb(12.16, 47.06, 15.69) |
CMYK | 74, 0, 67, 53 | |
HSL | 126.1°, 58.94, 29.6 | hsl(126.1, 58.94%, 29.6%) |
HSV | 126.1°, 74.2, 47.1 |
XYZ | 7.665, 13.877, 4.282 |
---|---|
Hunter Lab | 37.252, -28.462, 19.261 |
CIE-LAB | 44.056, -42.842, 35.532 |
CIE-LCH | 44.056, 55.659, 140.329 |
CIE-LUV | 74.17, 0, 66.67, 52.94 |
Web Safe | 336633 |
RGB percent of color #1f7828
CMYK percent of color #1f7828
Text with hexadecimal color #1f7828
This text has a font color of #1f7828
<p style="color:#1f7828">Text here</p>
#1f7828 Background Color
This box has a background color of #1f7828
<div style="background-color:#1f7828">Text here</div>
#1f7828 Border Color
This box has a border color of #1f7828
<div style="border: 4px solid #1f7828">Text here</div>
CSS codes
<p style="color:#1f7828">Text here</p>
<div style="background-color:#1f7828">Text here</div>
<div style="border: 4px solid #1f7828">Text here</div>
#1f7828 Color on white background
This is how a font and box color of #1f7828 will look
on a white background.
#1f7828 Color on black background
This is how a font and box color of #1f7828 hex color will look
on a black background.