optimize color for larger than 10