In RGB color space, #2a7040 hex color has a red value of 42, a green value of 112 and a blue value of 64.
In CMYK color space (used in color printing), #2a7040 hex color is composed of 62.5% cyan, 0% magenta, 42.86% yellow and 56.08% black.
#2a7040 color has a hue of 138.9 degrees, a saturation of 45.45% and a lightness of 30.2%.
#2a7040 hex color contains mainly GREEN.
The closest web safe color of #2a7040 is #336633
#2a7040 hex color has a decimal value of 2781248.
HEX | 2a7040 | #2a7040 |
---|---|---|
RGB | 42, 112, 64 | rgb(42, 112, 64) |
RGB Percent | 16.47, 43.92, 25.1 | rgb(16.47, 43.92, 25.1) |
CMYK | 63, 0, 43, 56 | |
HSL | 138.9°, 45.45, 30.2 | hsl(138.9, 45.45%, 30.2%) |
HSV | 138.9°, 62.5, 43.9 |
XYZ | 7.674, 12.451, 6.849 |
---|---|
Hunter Lab | 35.286, -22.93, 13.192 |
CIE-LAB | 41.924, -33.568, 20.329 |
CIE-LCH | 41.924, 39.244, 148.801 |
CIE-LUV | 62.5, 0, 42.86, 56.08 |
Web Safe | 336633 |
RGB percent of color #2a7040
CMYK percent of color #2a7040
Text with hexadecimal color #2a7040
This text has a font color of #2a7040
<p style="color:#2a7040">Text here</p>
#2a7040 Background Color
This box has a background color of #2a7040
<div style="background-color:#2a7040">Text here</div>
#2a7040 Border Color
This box has a border color of #2a7040
<div style="border: 4px solid #2a7040">Text here</div>
CSS codes
<p style="color:#2a7040">Text here</p>
<div style="background-color:#2a7040">Text here</div>
<div style="border: 4px solid #2a7040">Text here</div>
#2a7040 Color on white background
This is how a font and box color of #2a7040 will look
on a white background.
#2a7040 Color on black background
This is how a font and box color of #2a7040 hex color will look
on a black background.