when adjusting histogram, make sure target color exists so as not to introduce new colors.

this is only done on a per-channel basis.  it might work even better
to combine the channels.