In RGB color space, #2a6a1f hex color has a red value of 42, a green value of 106 and a blue value of 31.
In CMYK color space (used in color printing), #2a6a1f hex color is composed of 60.38% cyan, 0% magenta, 70.75% yellow and 58.43% black.
#2a6a1f color has a hue of 111.2 degrees, a saturation of 54.74% and a lightness of 26.9%.
#2a6a1f hex color contains mainly GREEN.
The closest web safe color of #2a6a1f is #336633
#2a6a1f hex color has a decimal value of 2779679.
HEX | 2a6a1f | #2a6a1f |
---|---|---|
RGB | 42, 106, 31 | rgb(42, 106, 31) |
RGB Percent | 16.47, 41.57, 12.16 | rgb(16.47, 41.57, 12.16) |
CMYK | 60, 0, 71, 58 | |
HSL | 111.2°, 54.74, 26.9 | hsl(111.2, 54.74%, 26.9%) |
HSV | 111.2°, 70.8, 41.6 |
XYZ | 6.356, 10.899, 3.065 |
---|---|
Hunter Lab | 33.014, -23.408, 17.605 |
CIE-LAB | 39.41, -35.887, 34.695 |
CIE-LCH | 39.41, 49.916, 135.968 |
CIE-LUV | 60.38, 0, 70.75, 58.43 |
Web Safe | 336633 |
RGB percent of color #2a6a1f
CMYK percent of color #2a6a1f
Text with hexadecimal color #2a6a1f
This text has a font color of #2a6a1f
<p style="color:#2a6a1f">Text here</p>
#2a6a1f Background Color
This box has a background color of #2a6a1f
<div style="background-color:#2a6a1f">Text here</div>
#2a6a1f Border Color
This box has a border color of #2a6a1f
<div style="border: 4px solid #2a6a1f">Text here</div>
CSS codes
<p style="color:#2a6a1f">Text here</p>
<div style="background-color:#2a6a1f">Text here</div>
<div style="border: 4px solid #2a6a1f">Text here</div>
#2a6a1f Color on white background
This is how a font and box color of #2a6a1f will look
on a white background.
#2a6a1f Color on black background
This is how a font and box color of #2a6a1f hex color will look
on a black background.