Function stringToColor

  • Converts a string to a unique HSL color code.

    Parameters

    • Optional str: string

      The string to convert to a color code.

    • Optional options: StringToColorOptions

      The options to use when converting the string to a color code.

    Returns string

    A unique HSL color code generated from the given string.

Generated using TypeDoc