Optimized color conversions