Class Color

A class that represents an RGB color

Hierarchy

  • Color

Constructors

Properties

b g r

Constructors

  • Parameters

    • r: number
    • g: number
    • b: number

    Returns Color

  • Parameters

    • c: number[]

      A list of RGB values like this: [r,g,b]

    Returns Color

  • Parameters

    Returns Color

  • Returns Color

Properties

b: number
g: number
r: number

Generated using TypeDoc