declare class Color { /** * Red channel */ r: number; /** * Blue channel */ g: number; /** * Green channel */ b: number; /** * Alpha channel */ a: number; /** * RGBA color. * * @param r Red value in range [0, 255] * @param g Green value in range [0, 255] * @param b Blue value in range [0, 255] * @param a Alpha channel in range [0, 255] * @return New color object */ constructor(r: number, g: number, b: number, a?: number); /** * Create a new copy of the current color. * * @return New color object */ copy(): Color; /** * Linearly interpolate to another color. * * @param target Target color * @param t Value between [0, 1] * @return Resultant color */ lerp(target: Color, t: number): Color; /** * Generate the valid HTML string in rgba format. * * @return RGBA string */ get(): string; /** * Get the normalized alpha value. * * @return Alpha value between [0, 1] */ alpha(): number; } export { Color };