more color optimizations