 
 /* Fill LEDs with a solid color according to the specified range. All other
  * LEDs are blacked out. */
-void fillSolid(bool *range, CHSV color) {
+void fillSolid(bool *range, CRGB color) {
     fill_solid(&leds[0], NUM_LEDS, CRGB::Black);
 
     for (uint8_t led = 0; led < NUM_LEDS; led++) {

    return rval;
}

/* modeTemperature draws a solid color across all LEDs, according to color temperature. */
void modeTemperature() {
    fill_solid(&leds[0], NUM_LEDS, HeatColor(parameters[PARAMETER_HUE]));
    FastLED.setBrightness(parameters[PARAMETER_VALUE]);
}

/* ledRange returns a array of bools indicating which LEDs should be drawn,
 * according to the start and end parameters. This function differs from the
 * FastLED library function in the sense that end may be smaller than start. */

    return range;
}

/* modeTemperature draws a solid color across all LEDs, according to color temperature. */
void modeTemperature() {
    bool *range;

    range = animatedLEDs();
    fillSolid(range, HeatColor(parameters[PARAMETER_HUE]));

    FastLED.setBrightness(parameters[PARAMETER_VALUE]);
}

/* modeSolid draws a solid color across all LEDs, according to the parameters
 * HUE, SATURATION, VALUE. */
void modeSolid() {
