With a normal fill bucket tool, only the edges remain and cannot be erased cleanly, so I prepared it to solve that problem.
* Depending on the image quality of the GIF, the edges may remain or look gray, but they have actually disappeared.
There is no need to aim and click on the protruding color, just click the area you want to remove and the color within that range will disappear.
The lineart can be either vector or raster.
You can erase even if there are some gaps, but they may or may not close depending on the numerical value, so please adjust the "close gap" value appropriately according to your own gap.
◆◇ How to use ◇◆
Select all the layers that you want to stop filling, and set them to "reference layer".
(In most cases, you can make the line art layer reference layer.) )
That's all there is to it.
◆◇ Caution ◇◆
The normal fill tool cannot erase the color unless the transparent color is selected, but this tool is a "dedicated to erasing" tool, so it erases the color even if the drawing color is selected.
If you want to set the setting to be able to paint normally, change the combine mode in "tool property" to "Normal".
However, it will stop at the point where the lower fill color overlap, so if you want to use only the line drawing as the standard reference layer please set it.