New to Kendo UI for jQuery? Start a free 30-day trial

Getting Started with the ColorPalette

Updated on Sep 8, 2026

This guide demonstrates how to get up and running with the Kendo UI for jQuery ColorPalette.

After the completion of this guide, you will achieve the following end result:

Example
View Source
Loading ...

1. Create a div Element

First, create a <div> element on the page that will be used to initialize the component. The content of the <div> will be the content of the ColorPalette.

html
    <div id="colorpalette"></div>

2. Initialize the ColorPalette

In this step, you will initialize the ColorPalette from the <div> element.

Example
View Source
    <div id="colorpalette"></div>

    <script>
        $(document).ready(function(){
            $("#colorpalette").kendoColorPalette();
        });
    </script>

3. Apply Configuration Settings to the ColorPalette

Here, you will apply some settings as tileSize and columns.

Example
View Source
    <div id="colorpalette"></div>

    <script>
        $(document).ready(function(){
            $("#colorpalette").kendoColorPalette({
                tileSize: 32, // The size of a color cell.
                columns: 8 // The number of columns to display.
            });
        });
    </script>

As of Kendo UI R3 2022, you can initialize the ColorPalette from an input element and use it for value submission. The component is also supported as an editor in the Kendo UI for jQuery Form.

Example
View Source
    <form id="myForm"></form>

    <script>
      $("#myForm").kendoForm({
        formData: {
          ID: 1,
          Name: "John Doe",
          Address: 3,
          Color: "red"
        },
        items: [
          {
            field: "Name",
            validation: { required: true }
          },
          {
            field: "Address",
            editor:"DropDownList",
            editorOptions:{
              dataTextField:"text",
              dataValueField:"id",
              dataSource: {
                data: [
                  {text:"Sofia", id:1},
                  {text:"London", id:2},
                  {text:"New York", id:3}
                ]
              }
            }
          },
          {
            field: "Color",
            editor:"ColorPalette"
          }
        ]
      });
    </script>

Next Steps

See Also