Another one that might be of interest. There are two effects Dragan and Dave Hill, if you search there are methods for these.
Using Gimp 2.10 a very old plugin, (attached) Put it in your plugins folder. Find it on the menu bar - PythonFu. Unusual in that it gives advice as it runs and it does use masks. Edit: playing around, sometimes the "advice" dialogues pop-under the main Gimp window - just as long as you know. For a trial just run through to the end and on the top layer adjust color/hue-chroma
Using Gimp 2.10 a very old plugin, (attached) Put it in your plugins folder. Find it on the menu bar - PythonFu. Unusual in that it gives advice as it runs and it does use masks. Edit: playing around, sometimes the "advice" dialogues pop-under the main Gimp window - just as long as you know. For a trial just run through to the end and on the top layer adjust color/hue-chroma