Changed transitions to interpolate the colors in RGB space (it looks smoother)