This widget provides color selection facilities to your
application. The widget appears as a button which contains a "color
swatch" of the currently selected color. When the button is
pressed, the widget presents the user with a color selection dialog
where the color can be selected.
You can select the color to be displayed in a number of ways:
floating point values for the red, green and blue channels,
integers in the range 0 to 65,535, or integers in the range 0 to
255, depending on your needs.
Gnome.ColorPicker();
![](../../../images/predef.Gnome.ColorPicker.1.png)
Signals:
color_set
This signal is emitted when the user changes the color on the color
selector. The values passed to this signal are the red, green, blue
and alpha channels selected in integer form in the range 0 to
65535.