Constructors
constructor
- new Color(r: number, g: number, b: number, alpha?: number): Color
Parameters
r: number
g: number
b: number
alpha: number = 1.0
Properties
Readonly alpha
alpha: number
Methods
Static fromHexString
- fromHexString(hex: string): Color
Static parseHexString
- parseHexString(hex: string): Color