In RGB color space, #2a7940 hex color has a red value of 42, a green value of 121 and a blue value of 64.
In CMYK color space (used in color printing), #2a7940 hex color is composed of 65.29% cyan, 0% magenta, 47.11% yellow and 52.55% black.
#2a7940 color has a hue of 136.7 degrees, a saturation of 48.47% and a lightness of 32%.
#2a7940 hex color contains mainly GREEN.
The closest web safe color of #2a7940 is #336633
#2a7940 hex color has a decimal value of 2783552.
HEX | 2a7940 | #2a7940 |
---|---|---|
RGB | 42, 121, 64 | rgb(42, 121, 64) |
RGB Percent | 16.47, 47.45, 25.1 | rgb(16.47, 47.45, 25.1) |
CMYK | 65, 0, 47, 53 | |
HSL | 136.7°, 48.47, 32 | hsl(136.7, 48.47%, 32%) |
HSV | 136.7°, 65.3, 47.5 |
XYZ | 8.718, 14.537, 7.197 |
---|---|
Hunter Lab | 38.127, -25.908, 15.498 |
CIE-LAB | 44.993, -37.411, 24.296 |
CIE-LCH | 44.993, 44.608, 146.999 |
CIE-LUV | 65.29, 0, 47.11, 52.55 |
Web Safe | 336633 |
RGB percent of color #2a7940
CMYK percent of color #2a7940
Text with hexadecimal color #2a7940
This text has a font color of #2a7940
<p style="color:#2a7940">Text here</p>
#2a7940 Background Color
This box has a background color of #2a7940
<div style="background-color:#2a7940">Text here</div>
#2a7940 Border Color
This box has a border color of #2a7940
<div style="border: 4px solid #2a7940">Text here</div>
CSS codes
<p style="color:#2a7940">Text here</p>
<div style="background-color:#2a7940">Text here</div>
<div style="border: 4px solid #2a7940">Text here</div>
#2a7940 Color on white background
This is how a font and box color of #2a7940 will look
on a white background.
#2a7940 Color on black background
This is how a font and box color of #2a7940 hex color will look
on a black background.