hosanna-ui-docs - v0.9.0
    Preparing search index...

    Function interpolateHexColors

    • Interpolates between two hex color strings.

      Parameters

      • hexColor1: string

        The starting hex color (e.g., "#ff0000").

      • hexColor2: string

        The ending hex color (e.g., "#00ff00").

      • fraction: number

        The interpolation fraction (0 to 1).

      Returns string

      The interpolated hex color string.