I guess its possible with listeners.
I'm not aware of any such listener.
whenever a selected pixel is changing his color
Why does the pixel change its color? Is this something your program is doing?
Pixels don't just randomly change there color unless your program is doing some process. So I'm guessing a better solution (to reduce CPU usage) is to track the pixel color before and after the processing your program is doing.