palette String|Array (default: null)

Specifies the color palette to display.

Example - use "websafe" palette

<div id="flatcolorpicker"></div>
<script>
$("#flatcolorpicker").kendoFlatColorPicker({
  palette: "websafe",
  columns: 18
});
</script>

Example - use list of colors

<div id="flatcolorpicker"></div>
<script>
$("#flatcolorpicker").kendoFlatColorPicker({
  palette: [ "#000", "#333", "#666", "#999", "#ccc", "#fff" ],
  columns: 6
});
</script>
In this article
Not finding the help you need? Improve this article