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

Messages

configuration

Allows customization of "Apply" / "Cancel" labels.

messages

Object
<div id="flatpicker"></div>
<script>
$("#flatpicker").kendoFlatColorPicker({
  buttons: true,
  messages: {
    apply: "Update",
    cancel: "Discard"
  }
});
</script>

Allows customization of the rgb's alpha input's aria-label in the Gradient's input editor.

Default: "Alpha"

<div id="flatcolorpicker"></div>
<script>
$("#flatcolorpicker").kendoFlatColorPicker({
    messages: {
        alpha: "Transparency"
    }
});
</script>

Allows customization of "Apply" label.

<div id="flatpicker"></div>
<script>
$("#flatpicker").kendoFlatColorPicker({
  buttons: true,
  messages: {
    apply: "Update"
  }
});
</script>

Allows customization of the rgb's blue input's aria-label in the Gradient's input editor.

Default: "Blue"

<div id="flatcolorpicker"></div>
<script>
$("#flatcolorpicker").kendoFlatColorPicker({
    messages: {
        blue: "Blue Channel"
    }
});
</script>

Allows customization of "Cancel" label.

<div id="flatpicker"></div>
<script>
$("#flatpicker").kendoFlatColorPicker({
  buttons: true,
  messages: {
    cancel: "Discard"
  }
});
</script>

Allows customization of the Clear Color button label.

Default: "Clear color"

<div id="flatcolorpicker"></div>
<script>
$("#flatcolorpicker").kendoFlatColorPicker({
    messages: {
        clearColor: "Remove Color"
    }
});
</script>

Allows customization of the "Contrast ratio" text in the contrast tool.

Default: "Contrast ratio"

<div id="flatcolorpicker"></div>
<script>
$("#flatcolorpicker").kendoFlatColorPicker({
    messages: {
        contrastRatio: "Color Contrast Ratio"
    }
});
</script>

Allows customization of the "Fail" text in the contrast tool.

Default: "Fail"

<div id="flatcolorpicker"></div>
<script>
$("#flatcolorpicker").kendoFlatColorPicker({
    messages: {
        fail: "Failed"
    }
});
</script>

Allows customization of the Gradient view button.

Default: "Gradient view"

<div id="flatcolorpicker"></div>
<script>
$("#flatcolorpicker").kendoFlatColorPicker({
    messages: {
        gradient: "Color Gradient"
    }
});
</script>

Allows customization of the rgb's green input's aria-label in the Gradient's input editor.

Default: "Green"

<div id="flatcolorpicker"></div>
<script>
$("#flatcolorpicker").kendoFlatColorPicker({
    messages: {
        green: "Green Channel"
    }
});
</script>

Allows customization of the hex input's aria-label in the Gradient's input editor.

Default: "HEX"

<div id="flatcolorpicker"></div>
<script>
$("#flatcolorpicker").kendoFlatColorPicker({
    messages: {
        hex: "Hexadecimal"
    }
});
</script>

Allows customization of the Palette view button.

Default: "Palette view"

<div id="flatcolorpicker"></div>
<script>
$("#flatcolorpicker").kendoFlatColorPicker({
    messages: {
        palette: "Color Palette"
    }
});
</script>

Allows customization of the "Pass" text in the contrast tool.

Default: "Pass"

<div id="flatcolorpicker"></div>
<script>
$("#flatcolorpicker").kendoFlatColorPicker({
    messages: {
        pass: "Passed"
    }
});
</script>

Allows customization of the rgb's red input's aria-label in the Gradient's input editor.

Default: "Red"

<div id="flatcolorpicker"></div>
<script>
$("#flatcolorpicker").kendoFlatColorPicker({
    messages: {
        red: "Red Channel"
    }
});
</script>

Allows customization of the toggle format button's aria-label in the Gradient's input editor.

Default: "Toggle format"

<div id="flatcolorpicker"></div>
<script>
$("#flatcolorpicker").kendoFlatColorPicker({
    messages: {
        toggleFormat: "Switch Color Format"
    }
});
</script>