It is a nice gesture to the publisher to take the effort as indicated by Anton Vrdoljak . However, I can assure you that you ‘simply’ can refuse the option to pay for the colour option. After that it is ‘their problem’ how this looks like in the printed version (is there still anyone doing this I wonder). In the online version it will show the proper colouring.
It depends on the journal, but you can (or they will in some cases, if I recall correctly) indicate that the online version shows the proper coloured version.
But indeed, I can assure you that you are not obligated to pay for this option if you decline it.
Dear Alireza Tehranian many thanks for asking this important technical question which will certainly be of significant interest to many other RG members. My personal suggestion would be to just go ahead with your submission and just accept the statement that "Color art is free of charge only for online publication". Nowadays published articles are read mostly online, so in my opinion it should be perfectly sufficient if your heat map is in full color only in the online version. Normally during the online submission process you will be asked if you are willing to pay for color art in the printed version. In that case just click on NO. Then the publisher will convert your color figure into black and white during the printing process. To be absolutely certain about this, I suggest that you carefully read the Instructions for Authors of the journal.
It is trivial to convert a color image to a black and white/grey scale one. Any paint shop application will do this. If you have a problem please post your color image and I'll convert to a 256 grey-scale image or 2-scale (B/W) - .gif is normal - for you (or go via the PM mechanism if you don't want your image in public).