In RGB color space, #2a7e1f hex color has a red value of 42, a green value of 126 and a blue value of 31.
In CMYK color space (used in color printing), #2a7e1f hex color is composed of 66.67% cyan, 0% magenta, 75.4% yellow and 50.59% black.
#2a7e1f color has a hue of 113.1 degrees, a saturation of 60.51% and a lightness of 30.8%.
#2a7e1f hex color contains mainly GREEN.
The closest web safe color of #2a7e1f is #336633
#2a7e1f hex color has a decimal value of 2784799.
HEX | 2a7e1f | #2a7e1f |
---|---|---|
RGB | 42, 126, 31 | rgb(42, 126, 31) |
RGB Percent | 16.47, 49.41, 12.16 | rgb(16.47, 49.41, 12.16) |
CMYK | 67, 0, 75, 51 | |
HSL | 113.1°, 60.51, 30.8 | hsl(113.1, 60.51%, 30.8%) |
HSV | 113.1°, 75.4, 49.4 |
XYZ | 8.663, 15.513, 3.834 |
---|---|
Hunter Lab | 39.387, -29.666, 21.799 |
CIE-LAB | 46.329, -43.643, 41.911 |
CIE-LCH | 46.329, 60.508, 136.16 |
CIE-LUV | 66.67, 0, 75.4, 50.59 |
Web Safe | 336633 |
RGB percent of color #2a7e1f
CMYK percent of color #2a7e1f
Text with hexadecimal color #2a7e1f
This text has a font color of #2a7e1f
<p style="color:#2a7e1f">Text here</p>
#2a7e1f Background Color
This box has a background color of #2a7e1f
<div style="background-color:#2a7e1f">Text here</div>
#2a7e1f Border Color
This box has a border color of #2a7e1f
<div style="border: 4px solid #2a7e1f">Text here</div>
CSS codes
<p style="color:#2a7e1f">Text here</p>
<div style="background-color:#2a7e1f">Text here</div>
<div style="border: 4px solid #2a7e1f">Text here</div>
#2a7e1f Color on white background
This is how a font and box color of #2a7e1f will look
on a white background.
#2a7e1f Color on black background
This is how a font and box color of #2a7e1f hex color will look
on a black background.