ColorSelection.paletteToString

Encodes a palette as a string, useful for persistent storage.

class ColorSelection
static
string
paletteToString

Parameters

colors Color[]

an array of colors

Return Value

Type: string

allocated string encoding the palette