In HSV, if I were to hold V and S constant at 1, cycling through the "degrees" 0-360 should give me all of the colors on that very top row (essentially)?
Jelly and MATL would be good because Jelly would behave much like you would expect a Python program to behave with similar functions and MATL is based on (?) MatLab.
"The reason I believe it is important to have an apologetic tone is to ensure you are communicating to the user that, though a mistake has been made and he is interacting with a machine or application in this case, you still respect his action and are humanizing the mistake."
This may be getting too complicated if you only have to do it for one image but I remember when I was messing with video there was an extremely powerful scripting language that can do a lot of stuff (including this)