Palette(subFunction ...)

You should look at setLoop() you know.

Palette(palANIMATE, start, end)

Animates the palette.

Palette(palSET, callback[, errback])

Sets a palette value

Arguments:
  • start (number) – The first palette index in a range
  • end (number) – The last palette index in a range
  • errback – Gets called in case the request fails. And a lot of other text so we need multiple lines.
Returns:

Something.