GimpUi.ColorSelector.new
Description: Reference for GimpUi.ColorSelector.new

### Constructor

# GimpUi ColorSelectornew

#### Declaration [src]

    GtkWidget*
    gimp_color_selector_new (
      GType selector_type,
      GeglColor* color,
      GimpColorSelectorChannel channel
    )

#### Description [src]

Creates a new `GimpColorSelector` widget of type `selector_type`.

Note that this is mostly internal API to be used by other widgets.

Please use `gimp_color_selection_new()` for the “GIMP-typical” color selection widget. Also see gimp_color_button_new().

This constructor is not directly available to language bindings.

skip-reason | internal_only_since_9ff663cc

#### Parameters

`selector_type`

  Type: `GType`

  The `GType` of the selector to create.

`color`

  Type: `GeglColor`

  The initial color to be edited.

  The data is owned by the caller of the function.

`channel`

  Type: `GimpColorSelectorChannel`

  The selector’s initial channel.

#### Return value

Type: `GtkWidget`

The new `GimpColorSelector` widget.

The data is owned by the called function.