Select-color menu that loops through colors as button is pressed

Hi, I am currently trying to make a menu that loops through the colors available for the main character with the use of 2 arrow keys. Does anyone know how I can do this efficiently?

I don’t understand what you want to do? could you be more specific?

do you want to change color when he clicks a key?