Function rgbaToString

  • Converts an RGBA type to an rgba string (e.g., rgba(12, 34, 56, 0.5))

    Parameters

    • color: RGBA

      The RGBA color

    Returns string

    the rgba string