Looking to enhance my programming skills, I am interested in changing the color of an item to a series of colors upon clicking. I am weighing the options between CSS, javascript, and JQuery to achieve this effect. Which approach would be the most optimal for this task?