• Fade to a random color

    Returns

    Colord of the random color that was faded to

    Parameters

    • device: Device

      Govee device

    • steps: number

      Number of steps to fade, minimum 3

    • duration: number

      Duration of fade in milliseconds, minimum 100

    • Optional lastColor: Colord

      (Optional) Last color to fade from (defaults to current color)

    Returns Promise<Colord>

Generated using TypeDoc