• Parameters

    • normalizedValue: number

      A float between 0 and 1.

    • colors: string[]

      Color list.

    • fullOutput: boolean

      Default false.

    Returns LerpFullOutput

    Result color. If fullOutput, return {color: ..., leftIndex: ..., rightIndex: ..., value: ...},

  • Parameters

    • normalizedValue: number
    • colors: string[]

    Returns string