showColorDialog

Inputs:

  • callbackFunction [object]: Function with signature function(r, g, b) to be called once the user clicks the OK button on the dialog. Receives the selected color as parameters.
  • functionObject [object?]: functionObject [optional, default=NULL]
  • red [float?]: The initial colors red channel (0.0 - 1.0) [optional, default=1.0]
  • green [float?]: The initial colors green channel (0.0 - 1.0) [optional, default=1.0]
  • blue [float?]: The initial colors blue channel (0.0 - 1.0) [optional, default=1.0]
  • [any]:

Last updated 12 Apr 2025, 16:09 +0200 . history