Constructors
constructor
- new RGBA(r: number, g: number, b: number, a?: number): RGBA
Parameters
- r: number
- g: number
- b: number
- a: number = 1
Properties
Methods
equals
- equals(color: RGBA): boolean
Returns boolean
isValid
- isValid(): boolean
Returns boolean
Static
fromString
- fromString(str: string): RGBA