Number of near colors :
Cost function :
Squared
Absolute