Normalize spacing and color values.