Function RGBA

  • Creates a Color object from the specified values

    Parameters

    • r: number

      red value

    • g: number

      green value

    • b: number

      blue value

    • a: number = 255

      alpha value

    Returns Color

    A Color object with the specified values

Generated using TypeDoc