In RGB color space, #2a7f1c hex color has a red value of 42, a green value of 127 and a blue value of 28.
In CMYK color space (used in color printing), #2a7f1c hex color is composed of 66.93% cyan, 0% magenta, 77.95% yellow and 50.2% black.
#2a7f1c color has a hue of 111.5 degrees, a saturation of 63.87% and a lightness of 30.4%.
#2a7f1c hex color contains mainly GREEN.
The closest web safe color of #2a7f1c is #336633
#2a7f1c hex color has a decimal value of 2785052.
HEX | 2a7f1c | #2a7f1c |
---|---|---|
RGB | 42, 127, 28 | rgb(42, 127, 28) |
RGB Percent | 16.47, 49.8, 10.98 | rgb(16.47, 49.8, 10.98) |
CMYK | 67, 0, 78, 50 | |
HSL | 111.5°, 63.87, 30.4 | hsl(111.5, 63.87%, 30.4%) |
HSV | 111.5°, 78, 49.8 |
XYZ | 8.754, 15.755, 3.678 |
---|---|
Hunter Lab | 39.693, -30.095, 22.291 |
CIE-LAB | 46.651, -44.248, 43.368 |
CIE-LCH | 46.651, 61.957, 135.575 |
CIE-LUV | 66.93, 0, 77.95, 50.2 |
Web Safe | 336633 |
RGB percent of color #2a7f1c
CMYK percent of color #2a7f1c
Text with hexadecimal color #2a7f1c
This text has a font color of #2a7f1c
<p style="color:#2a7f1c">Text here</p>
#2a7f1c Background Color
This box has a background color of #2a7f1c
<div style="background-color:#2a7f1c">Text here</div>
#2a7f1c Border Color
This box has a border color of #2a7f1c
<div style="border: 4px solid #2a7f1c">Text here</div>
CSS codes
<p style="color:#2a7f1c">Text here</p>
<div style="background-color:#2a7f1c">Text here</div>
<div style="border: 4px solid #2a7f1c">Text here</div>
#2a7f1c Color on white background
This is how a font and box color of #2a7f1c will look
on a white background.
#2a7f1c Color on black background
This is how a font and box color of #2a7f1c hex color will look
on a black background.