I need a function that for a given R,G,B values returns the next color.
By saying the next color I mean the color which one of the components change by 1(assuming that R,G,B values are of range 0-255).
It has to be constructed that way that starting from the white color(or black alternatively) you can iterate throught all of the colors(which count is 255*255*255). It would be nice, but not required that after iterating throught all of the colors, they are being repeated from the beginning.