In RGB color space, #2a7f0c hex color has a red value of 42, a green value of 127 and a blue value of 12.
In CMYK color space (used in color printing), #2a7f0c hex color is composed of 66.93% cyan, 0% magenta, 90.55% yellow and 50.2% black.
#2a7f0c color has a hue of 104.3 degrees, a saturation of 82.73% and a lightness of 27.3%.
#2a7f0c hex color contains mainly GREEN.
The closest web safe color of #2a7f0c is #336600
#2a7f0c hex color has a decimal value of 2785036.
HEX | 2a7f0c | #2a7f0c |
---|---|---|
RGB | 42, 127, 12 | rgb(42, 127, 12) |
RGB Percent | 16.47, 49.8, 4.71 | rgb(16.47, 49.8, 4.71) |
CMYK | 67, 0, 91, 50 | |
HSL | 104.3°, 82.73, 27.3 | hsl(104.3, 82.73%, 27.3%) |
HSV | 104.3°, 90.6, 49.8 |
XYZ | 8.611, 15.698, 2.924 |
---|---|
Hunter Lab | 39.621, -30.542, 23.359 |
CIE-LAB | 46.576, -45.158, 47.997 |
CIE-LCH | 46.576, 65.901, 133.254 |
CIE-LUV | 66.93, 0, 90.55, 50.2 |
Web Safe | 336600 |
RGB percent of color #2a7f0c
CMYK percent of color #2a7f0c
Text with hexadecimal color #2a7f0c
This text has a font color of #2a7f0c
<p style="color:#2a7f0c">Text here</p>
#2a7f0c Background Color
This box has a background color of #2a7f0c
<div style="background-color:#2a7f0c">Text here</div>
#2a7f0c Border Color
This box has a border color of #2a7f0c
<div style="border: 4px solid #2a7f0c">Text here</div>
CSS codes
<p style="color:#2a7f0c">Text here</p>
<div style="background-color:#2a7f0c">Text here</div>
<div style="border: 4px solid #2a7f0c">Text here</div>
#2a7f0c Color on white background
This is how a font and box color of #2a7f0c will look
on a white background.
#2a7f0c Color on black background
This is how a font and box color of #2a7f0c hex color will look
on a black background.