In RGB color space, #2a8742 hex color has a red value of 42, a green value of 135 and a blue value of 66.
In CMYK color space (used in color printing), #2a8742 hex color is composed of 68.89% cyan, 0% magenta, 51.11% yellow and 47.06% black.
#2a8742 color has a hue of 135.5 degrees, a saturation of 52.54% and a lightness of 34.7%.
#2a8742 hex color contains mainly GREEN.
The closest web safe color of #2a8742 is #339933
#2a8742 hex color has a decimal value of 2787138.
HEX | 2a8742 | #2a8742 |
---|---|---|
RGB | 42, 135, 66 | rgb(42, 135, 66) |
RGB Percent | 16.47, 52.94, 25.88 | rgb(16.47, 52.94, 25.88) |
CMYK | 69, 0, 51, 47 | |
HSL | 135.5°, 52.54, 34.7 | hsl(135.5, 52.54%, 34.7%) |
HSV | 135.5°, 68.9, 52.9 |
XYZ | 10.602, 18.214, 8.111 |
---|---|
Hunter Lab | 42.678, -30.343, 18.606 |
CIE-LAB | 49.755, -42.738, 29.217 |
CIE-LCH | 49.755, 51.77, 145.642 |
CIE-LUV | 68.89, 0, 51.11, 47.06 |
Web Safe | 339933 |
RGB percent of color #2a8742
CMYK percent of color #2a8742
Text with hexadecimal color #2a8742
This text has a font color of #2a8742
<p style="color:#2a8742">Text here</p>
#2a8742 Background Color
This box has a background color of #2a8742
<div style="background-color:#2a8742">Text here</div>
#2a8742 Border Color
This box has a border color of #2a8742
<div style="border: 4px solid #2a8742">Text here</div>
CSS codes
<p style="color:#2a8742">Text here</p>
<div style="background-color:#2a8742">Text here</div>
<div style="border: 4px solid #2a8742">Text here</div>
#2a8742 Color on white background
This is how a font and box color of #2a8742 will look
on a white background.
#2a8742 Color on black background
This is how a font and box color of #2a8742 hex color will look
on a black background.