In RGB color space, #2a7d42 hex color has a red value of 42, a green value of 125 and a blue value of 66.
In CMYK color space (used in color printing), #2a7d42 hex color is composed of 66.4% cyan, 0% magenta, 47.2% yellow and 50.98% black.
#2a7d42 color has a hue of 137.3 degrees, a saturation of 49.7% and a lightness of 32.7%.
#2a7d42 hex color contains mainly GREEN.
The closest web safe color of #2a7d42 is #336633
#2a7d42 hex color has a decimal value of 2784578.
HEX | 2a7d42 | #2a7d42 |
---|---|---|
RGB | 42, 125, 66 | rgb(42, 125, 66) |
RGB Percent | 16.47, 49.02, 25.88 | rgb(16.47, 49.02, 25.88) |
CMYK | 66, 0, 47, 51 | |
HSL | 137.3°, 49.7, 32.7 | hsl(137.3, 49.7%, 32.7%) |
HSV | 137.3°, 66.4, 49 |
XYZ | 9.272, 15.553, 7.668 |
---|---|
Hunter Lab | 39.437, -27.049, 16.078 |
CIE-LAB | 46.382, -38.72, 24.964 |
CIE-LCH | 46.382, 46.07, 147.189 |
CIE-LUV | 66.4, 0, 47.2, 50.98 |
Web Safe | 336633 |
RGB percent of color #2a7d42
CMYK percent of color #2a7d42
Text with hexadecimal color #2a7d42
This text has a font color of #2a7d42
<p style="color:#2a7d42">Text here</p>
#2a7d42 Background Color
This box has a background color of #2a7d42
<div style="background-color:#2a7d42">Text here</div>
#2a7d42 Border Color
This box has a border color of #2a7d42
<div style="border: 4px solid #2a7d42">Text here</div>
CSS codes
<p style="color:#2a7d42">Text here</p>
<div style="background-color:#2a7d42">Text here</div>
<div style="border: 4px solid #2a7d42">Text here</div>
#2a7d42 Color on white background
This is how a font and box color of #2a7d42 will look
on a white background.
#2a7d42 Color on black background
This is how a font and box color of #2a7d42 hex color will look
on a black background.