Multipurpose color picker component. Demo.
Use
var ColorPicker = ; var Color = ; var c = 'red'; var picker = color: color space: 'rgb' channel: 'red' ; documentbody;
Options
Name | Description |
---|---|
color | Color instance to use as a model. |
space | Color space to render. See list of available spaces. |
channel | Color channel(s) to render in color space. Whether string or array. |
type | Type of color picker to set up: horizontal , vertical , rectangular , radial , polar or other. |