Coloring bug?

I've tried coloring example and found something strange.

If you add basic colors to colorPicker - "#ff0000" and "#0000ff", then first color image blue ("#0000ff") and then try to color red ( "#ff0000") it's not working. In fact any other color is not working when you try to color blue area. Like blue is locking everything out.
Why? Why we can't have blue? :slight_smile:
It's the same with upgraded example with bitmap.color()

Edit: blue is locking other colors out until you set lighter tint of blue - "#3333FF" - then it works again.

The coloring is using the black to determine the fill to color. If your color is too close to black then it can't detect a fill area anymore. I guess the solution would be to always keep the coloring template not filled and then do the fill on a copy of the coloring template. We just did that quickly as an example... not really a completed app.

1 Like