color size logic change