Added optimizations to colors