flattening base colors