It's even more simple than that. It just adds x = -100..100 to R, G, and B, and bounds them to 0..255, with no regard to the fact the hue changes.