In RGB color space, #2a6c1f hex color has a red value of 42, a green value of 108 and a blue value of 31.
In CMYK color space (used in color printing), #2a6c1f hex color is composed of 61.11% cyan, 0% magenta, 71.3% yellow and 57.65% black.
#2a6c1f color has a hue of 111.4 degrees, a saturation of 55.4% and a lightness of 27.3%.
#2a6c1f hex color contains mainly GREEN.
The closest web safe color of #2a6c1f is #336633
#2a6c1f hex color has a decimal value of 2780191.
HEX | 2a6c1f | #2a6c1f |
---|---|---|
RGB | 42, 108, 31 | rgb(42, 108, 31) |
RGB Percent | 16.47, 42.35, 12.16 | rgb(16.47, 42.35, 12.16) |
CMYK | 61, 0, 71, 58 | |
HSL | 111.4°, 55.4, 27.3 | hsl(111.4, 55.4%, 27.3%) |
HSV | 111.4°, 71.3, 42.4 |
XYZ | 6.565, 11.316, 3.135 |
---|---|
Hunter Lab | 33.639, -24.033, 18.022 |
CIE-LAB | 40.108, -36.695, 35.438 |
CIE-LCH | 40.108, 51.013, 135.998 |
CIE-LUV | 61.11, 0, 71.3, 57.65 |
Web Safe | 336633 |
RGB percent of color #2a6c1f
CMYK percent of color #2a6c1f
Text with hexadecimal color #2a6c1f
This text has a font color of #2a6c1f
<p style="color:#2a6c1f">Text here</p>
#2a6c1f Background Color
This box has a background color of #2a6c1f
<div style="background-color:#2a6c1f">Text here</div>
#2a6c1f Border Color
This box has a border color of #2a6c1f
<div style="border: 4px solid #2a6c1f">Text here</div>
CSS codes
<p style="color:#2a6c1f">Text here</p>
<div style="background-color:#2a6c1f">Text here</div>
<div style="border: 4px solid #2a6c1f">Text here</div>
#2a6c1f Color on white background
This is how a font and box color of #2a6c1f will look
on a white background.
#2a6c1f Color on black background
This is how a font and box color of #2a6c1f hex color will look
on a black background.