to have the items with different color choices display in the cart on a unique line, set the color cart column to be unique.
For inventory control, you will need to add another column to the product options table to set the inventory for that particular color and product combination. You will still use the product page with a color dropdown list on it as the product detail page