JAVASCRIPT EXAMPLES Color Pickers With Gradient
SOURCE

This example combines use of two Uize.Widget.ColorPicker instances with a single Uize.Widget.ColorCube instance to display a gradient between two colors you select. The color cube is turned into a simple gradient display by setting the value of its divisionsY set-get property to 1, and then using only the colorTopLeft and colorTopRight set-get properties to change the gradient's color poles.

Color 1 Uize.Widget.ColorCube Instance Color 2