JAVASCRIPT EXAMPLES Sliders as RGB Selectors
SOURCE

In this simple example, three instances of Uize.Widget.Bar.Slider are wired up and used together by some simple logic to control the values of the red, green, and blue channels of an RGB color. As you drag the individual sliders, a color swatch above the sliders is updated to the current color.