Skip to content

Color Picker

The Color control has a format option which describes how the color value should be parsed and encoded. It consists of 2 sections. The prefix specifies whether the color value is a

  • # hex string
  • 0x a number
  • [] an array
  • {} an object

The suffix specifies the order of the color components. It may be any combinarion of r, g, b and a Here are some examples