Roller Widget filled with boxes of different colors which can be selected


Sorry for the poor topic description Initially I have a number of colored buttons which allowed the user to select a base color, now another box shows variations of the base color with the use of a rotary encoder. I wanted to get rid of the number of color selection buttons and have them in some of sort of roller widget with each selection a different color and when selected the perimeter goes white. Any suggestions?