nuke.getColor

nuke.getColor(initial) → int

Show a color chooser dialog and return the selected color as an int.

The format of the color values is packed 8bit rgb multiplied by 256 (ie in hex: 0xRRGGBB00).

Parameters

initial – Optional initial color. Integer with components packed as above.

Returns

The selected color.