In RGB color space, #2a7842 hex color has a red value of 42, a green value of 120 and a blue value of 66.
In CMYK color space (used in color printing), #2a7842 hex color is composed of 65% cyan, 0% magenta, 45% yellow and 52.94% black.
#2a7842 color has a hue of 138.5 degrees, a saturation of 48.15% and a lightness of 31.8%.
#2a7842 hex color contains mainly GREEN.
The closest web safe color of #2a7842 is #336633
#2a7842 hex color has a decimal value of 2783298.
HEX | 2a7842 | #2a7842 |
---|---|---|
RGB | 42, 120, 66 | rgb(42, 120, 66) |
RGB Percent | 16.47, 47.06, 25.88 | rgb(16.47, 47.06, 25.88) |
CMYK | 65, 0, 45, 53 | |
HSL | 138.5°, 48.15, 31.8 | hsl(138.5, 48.15%, 31.8%) |
HSV | 138.5°, 65, 47.1 |
XYZ | 8.655, 14.319, 7.462 |
---|---|
Hunter Lab | 37.84, -25.394, 14.797 |
CIE-LAB | 44.687, -36.635, 22.787 |
CIE-LCH | 44.687, 43.144, 148.118 |
CIE-LUV | 65, 0, 45, 52.94 |
Web Safe | 336633 |
RGB percent of color #2a7842
CMYK percent of color #2a7842
Text with hexadecimal color #2a7842
This text has a font color of #2a7842
<p style="color:#2a7842">Text here</p>
#2a7842 Background Color
This box has a background color of #2a7842
<div style="background-color:#2a7842">Text here</div>
#2a7842 Border Color
This box has a border color of #2a7842
<div style="border: 4px solid #2a7842">Text here</div>
CSS codes
<p style="color:#2a7842">Text here</p>
<div style="background-color:#2a7842">Text here</div>
<div style="border: 4px solid #2a7842">Text here</div>
#2a7842 Color on white background
This is how a font and box color of #2a7842 will look
on a white background.
#2a7842 Color on black background
This is how a font and box color of #2a7842 hex color will look
on a black background.