The book mentions that I can’t pan without touching and thus changing the color.

I noticed the color change is not instant. There’s a visible delay (a fraction of a second) between touching the screen and changing the color.

If I touch and move my finger before the color changes (or touch while moving the finger), it won’t register a touch and won’t change color.