Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents an RGB color.

Hierarchy

  • RGBColor

Index

Constructors

Properties

Methods

Constructors

  • Parameters

    • r: number
    • g: number
    • b: number
    • Optional a: number

    Returns <internal>.RGBColor

Properties

a: number

The alpha component of the color.

b: number

The blue component of the color.

g: number

The green component of the color.

r: number

The red component of the color.

Methods

  • Checks whether this color is equal to another color.

    Parameters

    Returns boolean

  • toString(): string
  • Returns a string representation of the color.

    Returns string

Generated using TypeDoc