Color Picker

Popover color editor for continuous opaque sRGB selection.

ColorPicker is a popover color editor for continuous sRGB selection: drag in the saturation-value plane and adjust hue on the slider. The bound value is an Orbital Color struct — serialize with theme helpers, not raw hex strings. The trigger shows the selected color for quick confirmation. Alpha transparency is not supported yet; values are fully opaque. For predefined palette choices, use SwatchPicker instead.

  • Theme accents and branding customization where users need any color in the sRGB space
  • Form fields for accent or highlight colors in design tools
  • Flows that need visual color selection rather than a fixed swatch list
  • Bind with OptionBind<Color> or required FormBind<Color> via ColorPickerBind.
  • Set appearance.disabled to prevent opening the panel.
  • Wrap in Field for labeled form usage.
OptionBind signal

Optional value binding with OptionBind<Color>.

FormBind signal

Required value binding with FormBind<Color>.

Preselected value

Trigger reflects an initial non-default color.

Disabled

Trigger is visible but cannot open.

Field composition

Typical labeled form usage.