Set the RGB color of a palette entry at index. If the palette has fewer channels than are set, the unsupported channels will be ignored.
index
void setRgb(int index, num r, num g, num b);