In RGB color space, #2a7a1f hex color has a red value of 42, a green value of 122 and a blue value of 31.
In CMYK color space (used in color printing), #2a7a1f hex color is composed of 65.57% cyan, 0% magenta, 74.59% yellow and 52.16% black.
#2a7a1f color has a hue of 112.7 degrees, a saturation of 59.48% and a lightness of 30%.
#2a7a1f hex color contains mainly GREEN.
The closest web safe color of #2a7a1f is #336633
#2a7a1f hex color has a decimal value of 2783775.
HEX | 2a7a1f | #2a7a1f |
---|---|---|
RGB | 42, 122, 31 | rgb(42, 122, 31) |
RGB Percent | 16.47, 47.84, 12.16 | rgb(16.47, 47.84, 12.16) |
CMYK | 66, 0, 75, 52 | |
HSL | 112.7°, 59.48, 30 | hsl(112.7, 59.48%, 30%) |
HSV | 112.7°, 74.6, 47.8 |
XYZ | 8.162, 14.51, 3.667 |
---|---|
Hunter Lab | 38.092, -28.414, 20.957 |
CIE-LAB | 44.956, -42.148, 40.509 |
CIE-LCH | 44.956, 58.459, 136.136 |
CIE-LUV | 65.57, 0, 74.59, 52.16 |
Web Safe | 336633 |
RGB percent of color #2a7a1f
CMYK percent of color #2a7a1f
Text with hexadecimal color #2a7a1f
This text has a font color of #2a7a1f
<p style="color:#2a7a1f">Text here</p>
#2a7a1f Background Color
This box has a background color of #2a7a1f
<div style="background-color:#2a7a1f">Text here</div>
#2a7a1f Border Color
This box has a border color of #2a7a1f
<div style="border: 4px solid #2a7a1f">Text here</div>
CSS codes
<p style="color:#2a7a1f">Text here</p>
<div style="background-color:#2a7a1f">Text here</div>
<div style="border: 4px solid #2a7a1f">Text here</div>
#2a7a1f Color on white background
This is how a font and box color of #2a7a1f will look
on a white background.
#2a7a1f Color on black background
This is how a font and box color of #2a7a1f hex color will look
on a black background.