In RGB color space, #2a7f02 hex color has a red value of 42, a green value of 127 and a blue value of 2.
In CMYK color space (used in color printing), #2a7f02 hex color is composed of 66.93% cyan, 0% magenta, 98.43% yellow and 50.2% black.
#2a7f02 color has a hue of 100.8 degrees, a saturation of 96.9% and a lightness of 25.3%.
#2a7f02 hex color contains mainly GREEN.
The closest web safe color of #2a7f02 is #336600
#2a7f02 hex color has a decimal value of 2785026.
HEX | 2a7f02 | #2a7f02 |
---|---|---|
RGB | 42, 127, 2 | rgb(42, 127, 2) |
RGB Percent | 16.47, 49.8, 0.78 | rgb(16.47, 49.8, 0.78) |
CMYK | 67, 0, 98, 50 | |
HSL | 100.8°, 96.9, 25.3 | hsl(100.8, 96.9%, 25.3%) |
HSV | 100.8°, 98.4, 49.8 |
XYZ | 8.555, 15.675, 2.632 |
---|---|
Hunter Lab | 39.592, -30.715, 23.773 |
CIE-LAB | 46.545, -45.514, 50.008 |
CIE-LCH | 46.545, 67.619, 132.306 |
CIE-LUV | 66.93, 0, 98.43, 50.2 |
Web Safe | 336600 |
RGB percent of color #2a7f02
CMYK percent of color #2a7f02
Text with hexadecimal color #2a7f02
This text has a font color of #2a7f02
<p style="color:#2a7f02">Text here</p>
#2a7f02 Background Color
This box has a background color of #2a7f02
<div style="background-color:#2a7f02">Text here</div>
#2a7f02 Border Color
This box has a border color of #2a7f02
<div style="border: 4px solid #2a7f02">Text here</div>
CSS codes
<p style="color:#2a7f02">Text here</p>
<div style="background-color:#2a7f02">Text here</div>
<div style="border: 4px solid #2a7f02">Text here</div>
#2a7f02 Color on white background
This is how a font and box color of #2a7f02 will look
on a white background.
#2a7f02 Color on black background
This is how a font and box color of #2a7f02 hex color will look
on a black background.