Yes, you can use the same Discount Code for multiple product-specific discounts, so buyers entering that one code in their cart would apply the matching discount to each item in their cart which has one. I'm not quite sure I follow what you mean about the unique color codes, but presumably you've tested that it does what you require, so I'd have nothing to add in that regard.