columns Number

The number of columns to show in the color dropdown when a pallete is specified. This is automatically initialized for the "basic" and "websafe" palettes. If you use a custom palette then you can set this to some value that makes sense for your colors.

Example - wrap list of colors on two rows with 3 columns

<input id="colorpicker" type="color" />
  palette: [ "#000", "#333", "#666", "#999", "#ccc", "#fff" ],
  columns: 3
In this article