Returns a new color where the red channel of color has been replaced by value.
color
value
int setRed(int color, int value) => (color & 0xffffff00) | (clamp255(value));