The colors now change according to the hsv color model.
But because the model is just  converted from rgb and back to rgb there are still some bugs, eg the hue value is not saved and lost if the brightness is at 0 once. You also have to increase the interval value the darker the image gets to change the hue.
Revert "The colors now change according to the hsv color model."

This reverts commit d64ee8c77e6ced401dbb90c21e805cdfeaf679a1.
Revert "Revert "The colors now change according to the hsv color model.""

This reverts commit 5ea38da1b82b7da655e731996fc72ce7f318c103.