Applying more intelligent way to calculate color saturation