Gets a color spectrum from a sensor
a Sensor instance.
a SensorCap
a Cancellable, or null
the function to run on completion
the data to pass to callback
callback