IColorPickerConfig

The color picker providing color selection in the editor. See the Colors topic for details.

Properties

Optional palette

palette: string []

Palette to show in color picker; a pallete is described by the two-dimensional array: array of palettes, where each pallete is an array of colors in css-compatible format. The default value is [["rgb(0, 0, 0)","rgb(67, 67, 67)",...],...].

Optional showPaletteOnly

showPaletteOnly: boolean

Shows only the palette specified via the palette parameter in the color picker. The default value is false.