Click and Fill with Color

Is there a way to programatically fill an outlined area of an image with a specific color?
I’m wanting to make a page online where kids can click and color in black and white picture.

FloodFill will be an answer.

1 Like