In RGB color space, #2a7e40 hex color has a red value of 42, a green value of 126 and a blue value of 64.
In CMYK color space (used in color printing), #2a7e40 hex color is composed of 66.67% cyan, 0% magenta, 49.21% yellow and 50.59% black.
#2a7e40 color has a hue of 135.7 degrees, a saturation of 50% and a lightness of 32.9%.
#2a7e40 hex color contains mainly GREEN.
The closest web safe color of #2a7e40 is #336633
#2a7e40 hex color has a decimal value of 2784832.
HEX | 2a7e40 | #2a7e40 |
---|---|---|
RGB | 42, 126, 64 | rgb(42, 126, 64) |
RGB Percent | 16.47, 49.41, 25.1 | rgb(16.47, 49.41, 25.1) |
CMYK | 67, 0, 49, 51 | |
HSL | 135.7°, 50, 32.9 | hsl(135.7, 50%, 32.9%) |
HSV | 135.7°, 66.7, 49.4 |
XYZ | 9.341, 15.784, 7.405 |
---|---|
Hunter Lab | 39.729, -27.557, 16.759 |
CIE-LAB | 46.69, -39.475, 26.449 |
CIE-LCH | 46.69, 47.517, 146.177 |
CIE-LUV | 66.67, 0, 49.21, 50.59 |
Web Safe | 336633 |
RGB percent of color #2a7e40
CMYK percent of color #2a7e40
Text with hexadecimal color #2a7e40
This text has a font color of #2a7e40
<p style="color:#2a7e40">Text here</p>
#2a7e40 Background Color
This box has a background color of #2a7e40
<div style="background-color:#2a7e40">Text here</div>
#2a7e40 Border Color
This box has a border color of #2a7e40
<div style="border: 4px solid #2a7e40">Text here</div>
CSS codes
<p style="color:#2a7e40">Text here</p>
<div style="background-color:#2a7e40">Text here</div>
<div style="border: 4px solid #2a7e40">Text here</div>
#2a7e40 Color on white background
This is how a font and box color of #2a7e40 will look
on a white background.
#2a7e40 Color on black background
This is how a font and box color of #2a7e40 hex color will look
on a black background.