In RGB color space, #2a7f40 hex color has a red value of 42, a green value of 127 and a blue value of 64.
In CMYK color space (used in color printing), #2a7f40 hex color is composed of 66.93% cyan, 0% magenta, 49.61% yellow and 50.2% black.
#2a7f40 color has a hue of 135.5 degrees, a saturation of 50.3% and a lightness of 33.1%.
#2a7f40 hex color contains mainly GREEN.
The closest web safe color of #2a7f40 is #336633
#2a7f40 hex color has a decimal value of 2785088.
HEX | 2a7f40 | #2a7f40 |
---|---|---|
RGB | 42, 127, 64 | rgb(42, 127, 64) |
RGB Percent | 16.47, 49.8, 25.1 | rgb(16.47, 49.8, 25.1) |
CMYK | 67, 0, 50, 50 | |
HSL | 135.5°, 50.3, 33.1 | hsl(135.5, 50.3%, 33.1%) |
HSV | 135.5°, 66.9, 49.8 |
XYZ | 9.47, 16.041, 7.448 |
---|---|
Hunter Lab | 40.051, -27.884, 17.01 |
CIE-LAB | 47.028, -39.877, 26.875 |
CIE-LCH | 47.028, 48.088, 146.022 |
CIE-LUV | 66.93, 0, 49.61, 50.2 |
Web Safe | 336633 |
RGB percent of color #2a7f40
CMYK percent of color #2a7f40
Text with hexadecimal color #2a7f40
This text has a font color of #2a7f40
<p style="color:#2a7f40">Text here</p>
#2a7f40 Background Color
This box has a background color of #2a7f40
<div style="background-color:#2a7f40">Text here</div>
#2a7f40 Border Color
This box has a border color of #2a7f40
<div style="border: 4px solid #2a7f40">Text here</div>
CSS codes
<p style="color:#2a7f40">Text here</p>
<div style="background-color:#2a7f40">Text here</div>
<div style="border: 4px solid #2a7f40">Text here</div>
#2a7f40 Color on white background
This is how a font and box color of #2a7f40 will look
on a white background.
#2a7f40 Color on black background
This is how a font and box color of #2a7f40 hex color will look
on a black background.