---
title: "IColorPickerConfigParsed Interface"
canonical: https://customerscanvas.com/docs/cc4/customerscanvas.baseeditor.configuration.ui.icolorpickerconfigparsed.htm
archived: true
applies_to:
  - product: "Customer's Canvas On-Premises"
  - product: "Design Editor"
    versions: ["4.4.25", "4.x (may differ)"]
---

**You’re viewing outdated documentation.** [View the latest Customer’s Canvas On-Premises documentation](https://customerscanvas.com/docs/on-premises/).

# IColorPickerConfigParsed Interface

**Applies to:** Customer's Canvas On-Premises; Design Editor 4.4.25, 4.x (may differ) · **Archived documentation**
 
The color picker providing color selection in the editor. For details, see the [Colors](https://customerscanvas.com/docs/cc4/colors.htm.md) topic.
  
 - example
     - ```
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)"]]
        }
    }
};
```
 
## Properties
 
### Optional availableColorSpaces
 
availableColorSpaces: [ColorSpaceType](https://customerscanvas.com/docs/cc4/customerscanvas.iframeapi.configuration.colorspace.htm.md) []

Specifies the color spaces that will be available to your users in the **Color picker**. The default value is `["rgb", "cmyk"]`.
 
### Optional defaultColorSpace
 
defaultColorSpace: [ColorSpaceType](https://customerscanvas.com/docs/cc4/customerscanvas.iframeapi.configuration.colorspace.htm.md)

Defines the default color space. The default value is `"rgb"`.
 
### 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`.
