In RGB color space, #2a7242 hex color has a red value of 42, a green value of 114 and a blue value of 66.
In CMYK color space (used in color printing), #2a7242 hex color is composed of 63.16% cyan, 0% magenta, 42.11% yellow and 55.29% black.
#2a7242 color has a hue of 140 degrees, a saturation of 46.15% and a lightness of 30.6%.
#2a7242 hex color contains mainly GREEN.
The closest web safe color of #2a7242 is #336633
#2a7242 hex color has a decimal value of 2781762.
HEX | 2a7242 | #2a7242 |
---|---|---|
RGB | 42, 114, 66 | rgb(42, 114, 66) |
RGB Percent | 16.47, 44.71, 25.88 | rgb(16.47, 44.71, 25.88) |
CMYK | 63, 0, 42, 55 | |
HSL | 140°, 46.15, 30.6 | hsl(140, 46.15%, 30.6%) |
HSV | 140°, 63.2, 44.7 |
XYZ | 7.956, 12.92, 7.229 |
---|---|
Hunter Lab | 35.944, -23.393, 13.237 |
CIE-LAB | 42.642, -34.049, 20.123 |
CIE-LCH | 42.642, 39.551, 149.417 |
CIE-LUV | 63.16, 0, 42.11, 55.29 |
Web Safe | 336633 |
RGB percent of color #2a7242
CMYK percent of color #2a7242
Text with hexadecimal color #2a7242
This text has a font color of #2a7242
<p style="color:#2a7242">Text here</p>
#2a7242 Background Color
This box has a background color of #2a7242
<div style="background-color:#2a7242">Text here</div>
#2a7242 Border Color
This box has a border color of #2a7242
<div style="border: 4px solid #2a7242">Text here</div>
CSS codes
<p style="color:#2a7242">Text here</p>
<div style="background-color:#2a7242">Text here</div>
<div style="border: 4px solid #2a7242">Text here</div>
#2a7242 Color on white background
This is how a font and box color of #2a7242 will look
on a white background.
#2a7242 Color on black background
This is how a font and box color of #2a7242 hex color will look
on a black background.