#FFFFFF

This sample contains an input widget bound to a colorpicker widget.

Simple input control

Change color with an input (RGB hex value):

Bound to a YUI ColorPicker control

<xf:input ref="color" datatype="xhd:color">
  <xf:label>Choose color:</xf:label>
</xf:input>
Choose color: