IColorPickerConfig Interface

The color picker providing color selection in the editor. For details, see the Colors topic.

configuration = {
    widgets: {
        ColorPicker: {
            showPaletteOnly: true,
            palette: [["rgb(0, 0, 0)","rgb(255, 255, 255)"],
                      ["rgb(255, 0, 0)","rgb(255, 255, 0)","rgb(0, 255, 0)","rgb(0, 255, 255)","rgb(0, 0, 255)","rgb(255, 0, 255)"]]


Optional palette

palette: string []

Palette to show in color picker; a palette is described by the two-dimensional array: array of palettes, where each palette 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.