UIZE JavaScript Framework

JAVASCRIPT EXAMPLES Sliders as RGB Selectors

In this simple example, three instances of Uize.Widgets.Slider.Widget 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.