public function colorTemp($value)
{
// Don't continue if color temperature is invalid
if (!(self::COLOR_TEMP_MIN <= $value && $value <= self::COLOR_TEMP_MAX)) {
throw new \InvalidArgumentException("Color temperature value must be between " . self::COLOR_TEMP_MIN . " and " . self::COLOR_TEMP_MAX);
}
$this->params['ct'] = $value;
return $this;
}