Given a color, modifies the channel setting the passed value.
the modified color
the initial color
the value for the channel