Set a specific channel value of the palette entry at index. If the palette has fewer channels than channel, the value will be ignored.
channel
value
index
void set(int index, int channel, num value);