deal with MinMaxColor for continuous data type.