In RGB color space, #2a6d1f hex color has a red value of 42, a green value of 109 and a blue value of 31.
In CMYK color space (used in color printing), #2a6d1f hex color is composed of 61.47% cyan, 0% magenta, 71.56% yellow and 57.25% black.
#2a6d1f color has a hue of 111.5 degrees, a saturation of 55.71% and a lightness of 27.5%.
#2a6d1f hex color contains mainly GREEN.
The closest web safe color of #2a6d1f is #336633
#2a6d1f hex color has a decimal value of 2780447.
HEX | 2a6d1f | #2a6d1f |
---|---|---|
RGB | 42, 109, 31 | rgb(42, 109, 31) |
RGB Percent | 16.47, 42.75, 12.16 | rgb(16.47, 42.75, 12.16) |
CMYK | 61, 0, 72, 57 | |
HSL | 111.5°, 55.71, 27.5 | hsl(111.5, 55.71%, 27.5%) |
HSV | 111.5°, 71.6, 42.7 |
XYZ | 6.671, 11.528, 3.17 |
---|---|
Hunter Lab | 33.953, -24.346, 18.231 |
CIE-LAB | 40.456, -37.097, 35.811 |
CIE-LCH | 40.456, 51.562, 136.011 |
CIE-LUV | 61.47, 0, 71.56, 57.25 |
Web Safe | 336633 |
RGB percent of color #2a6d1f
CMYK percent of color #2a6d1f
Text with hexadecimal color #2a6d1f
This text has a font color of #2a6d1f
<p style="color:#2a6d1f">Text here</p>
#2a6d1f Background Color
This box has a background color of #2a6d1f
<div style="background-color:#2a6d1f">Text here</div>
#2a6d1f Border Color
This box has a border color of #2a6d1f
<div style="border: 4px solid #2a6d1f">Text here</div>
CSS codes
<p style="color:#2a6d1f">Text here</p>
<div style="background-color:#2a6d1f">Text here</div>
<div style="border: 4px solid #2a6d1f">Text here</div>
#2a6d1f Color on white background
This is how a font and box color of #2a6d1f will look
on a white background.
#2a6d1f Color on black background
This is how a font and box color of #2a6d1f hex color will look
on a black background.