You could use a PHP records what colour the user clicked on using numbers, lets say
Black = 1
White = 2
Red = 3
Then you array these or what colours you have, then when the user selects the colour.
It will record it and send it to a text file, you can include into an admin panel
You understand? I hope this helped in some way!