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.
http://www.mywebsite.com/store/product.php?id=1&color=1
It will record it and send it to a text file, you can include into an admin panel
using
Code:
<?php
include("http://example.com/examples/counts.txt");
?>
You understand? I hope this helped in some way!