Function randomColor

  • Get a random color.

    Returns

    A random color for the specified type

    Parameters

    • type: string = "hex"

      The type of color.

    • Optional opacity: number

      The opacity of color.

    Returns string

Generated using TypeDoc