optimized color codes