Module goo.colorpicker

Draws a color picker box where the user can select a color.

Functions

goo.colorpicker:clearSelection () Clears the selected color.
goo.colorpicker:getColor () Gets the currently selected color.


Functions

goo.colorpicker:clearSelection ( )

Clears the selected color.

goo.colorpicker:getColor ( )

Gets the currently selected color.

Return values:

  1. number: the Red value (0-255).
  2. number: the Green value (0-255).
  3. number: the Blue value (0-255).

Valid XHTML 1.0!